Changeset 95fc538 in mainline
- Timestamp:
- 2023-10-26T11:51:50Z (14 months ago)
- Branches:
- master, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- d28bdbe
- Parents:
- cb2894e
- Location:
- uspace
- Files:
-
- 17 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/app/taskbar/clock.c
rcb2894e r95fc538 30 30 * @{ 31 31 */ 32 /** @file Task 32 /** @file Taskbar clock. 33 33 * 34 34 * Displays the current time in an inset frame. … … 53 53 static void taskbar_clock_timer(void *); 54 54 55 /** Task 55 /** Taskbar clock control ops */ 56 56 static ui_control_ops_t taskbar_clock_ctl_ops = { 57 57 .destroy = taskbar_clock_ctl_destroy, … … 61 61 }; 62 62 63 /** Create task 63 /** Create taskbar clock. 64 64 * 65 65 * @param window Containing window … … 102 102 } 103 103 104 /** Destroy task 105 * 106 * @param clock Task 104 /** Destroy taskbar clock. 105 * 106 * @param clock Taskbar clock 107 107 */ 108 108 void taskbar_clock_destroy(taskbar_clock_t *clock) … … 149 149 } 150 150 151 /** Paint task 152 * 153 * @param clock Task 151 /** Paint taskbar clock. 152 * 153 * @param clock Taskbar clock 154 154 */ 155 155 errno_t taskbar_clock_paint(taskbar_clock_t *clock) … … 208 208 } 209 209 210 /** Handle task 211 * 212 * @param clock Task 210 /** Handle taskbar clock keyboard event. 211 * 212 * @param clock Taskbar clock 213 213 * @param event Keyboard event 214 214 * @return ui_claimed iff event was claimed … … 219 219 } 220 220 221 /** Handle task 222 * 223 * @param clock Task 221 /** Handle taskbar clock position event. 222 * 223 * @param clock Taskbar clock 224 224 * @param event Position event 225 225 * @return ui_claimed iff event was claimed … … 237 237 } 238 238 239 /** Get base control for task 240 * 241 * @param clock Task 239 /** Get base control for taskbar clock. 240 * 241 * @param clock Taskbar clock 242 242 * @return Base UI control 243 243 */ … … 247 247 } 248 248 249 /** Set task 250 * 251 * @param clock Task 249 /** Set taskbar clock rectangle. 250 * 251 * @param clock Taskbar clock 252 252 * @param rect Rectangle 253 253 */ … … 277 277 } 278 278 279 /** Paint task 279 /** Paint taskbar clock control. 280 280 * 281 281 * @param arg Argument (taskbar_clock_t *) … … 289 289 } 290 290 291 /** Handle task 291 /** Handle taskbar clock control keyboard event. 292 292 * 293 293 * @param arg Argument (taskbar_clock_t *) … … 302 302 } 303 303 304 /** Handle task 304 /** Handle taskbar clock control position event. 305 305 * 306 306 * @param arg Argument (taskbar_clock_t *) -
uspace/app/taskbar/clock.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar clock 34 34 */ 35 35 -
uspace/app/taskbar/doc/doxygroups.h
rcb2894e r95fc538 1 1 /** @addtogroup taskbar taskbar 2 * @brief Task 2 * @brief Taskbar 3 3 * @ingroup apps 4 4 */ -
uspace/app/taskbar/main.c
rcb2894e r95fc538 30 30 * @{ 31 31 */ 32 /** @file Task Bar32 /** @file Taskbar 33 33 */ 34 34 -
uspace/app/taskbar/taskbar.c
rcb2894e r95fc538 30 30 * @{ 31 31 */ 32 /** @file Task Bar32 /** @file Taskbar 33 33 */ 34 34 … … 114 114 } 115 115 116 /** Create task 116 /** Create taskbar. 117 117 * 118 118 * @param display_spec Display specification 119 119 * @param wndmgt_svc Window management service (or WNDMGT_DEFAULT) 120 * @param rtaskbar Place to store pointer to new task 120 * @param rtaskbar Place to store pointer to new taskbar 121 121 * @return @c EOK on success or an error coe 122 122 */ … … 157 157 158 158 ui_wnd_params_init(¶ms); 159 params.caption = "Task Bar";159 params.caption = "Taskbar"; 160 160 params.placement = ui_wnd_place_bottom_left; 161 161 … … 302 302 } 303 303 304 /** Destroy task 304 /** Destroy taskbar. */ 305 305 void taskbar_destroy(taskbar_t *taskbar) 306 306 { -
uspace/app/taskbar/taskbar.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task Bar33 * @file Taskbar 34 34 */ 35 35 -
uspace/app/taskbar/tbsmenu.c
rcb2894e r95fc538 30 30 * @{ 31 31 */ 32 /** @file Task 32 /** @file Taskbar start menu 33 33 */ 34 34 … … 65 65 static errno_t tbsmenu_entry_start(tbsmenu_entry_t *); 66 66 67 /** Create task 67 /** Create taskbar start menu. 68 68 * 69 69 * @param window Containing window … … 199 199 } 200 200 201 /** Destroy task 201 /** Destroy taskbar start menu. 202 202 * 203 203 * @param tbsmenu Start menu -
uspace/app/taskbar/tbsmenu.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar start menu 34 34 */ 35 35 -
uspace/app/taskbar/types/clock.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar clock 34 34 */ 35 35 … … 41 41 #include <ui/window.h> 42 42 43 /** Task 43 /** Taskbar clock 44 44 * 45 45 * This is a custom UI control. -
uspace/app/taskbar/types/taskbar.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task Bar types33 * @file Taskbar types 34 34 */ 35 35 … … 46 46 #include "wndlist.h" 47 47 48 /** Task 48 /** Taskbar */ 49 49 typedef struct taskbar { 50 50 /** User interface */ -
uspace/app/taskbar/types/tbsmenu.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar start menu 34 34 */ 35 35 … … 60 60 } tbsmenu_entry_t; 61 61 62 /** Task 62 /** Taskbar start menu */ 63 63 typedef struct tbsmenu { 64 64 /** Containing window */ -
uspace/app/taskbar/types/wndlist.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar window list 34 34 */ 35 35 … … 61 61 } wndlist_entry_t; 62 62 63 /** Task 63 /** Taskbar window list */ 64 64 typedef struct wndlist { 65 65 /** Base control object */ -
uspace/app/taskbar/wndlist.c
rcb2894e r95fc538 30 30 * @{ 31 31 */ 32 /** @file Task 32 /** @file Taskbar window list 33 33 */ 34 34 … … 80 80 }; 81 81 82 /** Create task 82 /** Create taskbar window list. 83 83 * 84 84 * @param window Containing window … … 176 176 } 177 177 178 /** Destroy task 178 /** Destroy taskbar window list. 179 179 * 180 180 * @param wndlist Window list -
uspace/app/taskbar/wndlist.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar window list 34 34 */ 35 35 -
uspace/lib/tbarcfg/private/tbarcfg.h
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar configuration 34 34 * 35 35 */ … … 42 42 #include <types/tbarcfg/tbarcfg.h> 43 43 44 /** Task 44 /** Taskbar configuration */ 45 45 struct tbarcfg { 46 46 /** List of start menu entries (smenu_entry_t) */ -
uspace/lib/tbarcfg/src/tbarcfg.c
rcb2894e r95fc538 31 31 */ 32 32 /** 33 * @file Task 33 * @file Taskbar configuration 34 34 */ 35 35 … … 41 41 #include "../private/tbarcfg.h" 42 42 43 /** Open task 43 /** Open taskbar configuration. 44 44 * 45 45 * @param repopath Pathname of the menu repository 46 * @param rtbcfg Place to store pointer to task 46 * @param rtbcfg Place to store pointer to taskbar configuration 47 47 * @return EOK on success or an error code 48 48 */ … … 116 116 } 117 117 118 /** Close task 118 /** Close taskbar configuration. 119 119 * 120 120 * @param tbcfg Start menu … … 126 126 /** Get first start menu entry. 127 127 * 128 * @param tbcfg Task 128 * @param tbcfg Taskbar configuration 129 129 * @return First entry or @c NULL if the menu is empty 130 130 */ -
uspace/lib/tbarcfg/test/tbarcfg.c
rcb2894e r95fc538 36 36 PCUT_TEST_SUITE(tbarcfg); 37 37 38 /** Opening and closing task 38 /** Opening and closing taskbar configuration */ 39 39 PCUT_TEST(open_close) 40 40 {
Note:
See TracChangeset
for help on using the changeset viewer.