Changeset aa4f80c in mainline
- Timestamp:
- 2026-04-13T13:41:31Z (43 hours ago)
- Parents:
- a2f95ce (diff), cbaf408 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Matej Volf <mat.volfik@…> (2026-04-13 13:41:31)
- git-committer:
- GitHub <noreply@…> (2026-04-13 13:41:31)
- Location:
- uspace
- Files:
-
- 4 edited
-
lib/display/include/types/display/cursor.h (modified) (1 diff)
-
lib/ui/include/types/ui/cursor.h (modified) (1 diff)
-
lib/ui/src/window.c (modified) (1 diff)
-
srv/hid/display/cursimg.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/display/include/types/display/cursor.h
ra2f95ce raa4f80c 49 49 dcurs_size_urdl, 50 50 /** I-beam (suggests editable text) */ 51 dcurs_ibeam 51 dcurs_ibeam, 52 /** Pointer (suggests clickable object) */ 53 dcurs_pointer, 52 54 } display_stock_cursor_t; 53 55 54 56 enum { 55 57 /** Number of stock cursor types */ 56 dcurs_limit = dcurs_ ibeam+ 158 dcurs_limit = dcurs_pointer + 1 57 59 }; 58 60 -
uspace/lib/ui/include/types/ui/cursor.h
ra2f95ce raa4f80c 49 49 ui_curs_size_urdl, 50 50 /** I-beam (suggests editable text) */ 51 ui_curs_ibeam 51 ui_curs_ibeam, 52 /** Pointer (suggests clickable object) */ 53 ui_curs_pointer, 52 54 } ui_stock_cursor_t; 53 55 -
uspace/lib/ui/src/window.c
ra2f95ce raa4f80c 1346 1346 dcursor = dcurs_ibeam; 1347 1347 break; 1348 case ui_curs_pointer: 1349 dcursor = dcurs_pointer; 1350 break; 1348 1351 } 1349 1352 -
uspace/srv/hid/display/cursimg.c
ra2f95ce raa4f80c 159 159 }; 160 160 161 static uint8_t pointer_img[] = { 162 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 163 0, 0, 0, 0, 1, 2, 2, 2, 1, 0, 0, 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0, 181 0, 0, 0, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 1, 0, 0, 182 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0 183 }; 184 161 185 ds_cursimg_t ds_cursimg[dcurs_limit] = { 162 186 { … … 183 207 .rect = { -5, -9, 6, 10 }, 184 208 .image = ibeam_img 209 }, 210 { 211 .rect = { -6, 0, 13, 21 }, 212 .image = pointer_img 185 213 } 186 214 };
Note:
See TracChangeset
for help on using the changeset viewer.
