Changeset 9d5cea6 in mainline for uspace/srv/hid/remcons/remcons.c
- Timestamp:
- 2024-10-17T12:35:42Z (2 months ago)
- Branches:
- master
- Children:
- a72f3b8
- Parents:
- 514108e
- git-author:
- Jiri Svoboda <jiri@…> (2024-10-16 17:35:40)
- git-committer:
- Jiri Svoboda <jiri@…> (2024-10-17 12:35:42)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/srv/hid/remcons/remcons.c
r514108e r9d5cea6 95 95 static void remcons_set_rgb_color(con_srv_t *, pixel_t, pixel_t); 96 96 static void remcons_cursor_visibility(con_srv_t *, bool); 97 static errno_t remcons_set_caption(con_srv_t *, const char *); 97 98 static errno_t remcons_get_event(con_srv_t *, cons_event_t *); 98 99 static errno_t remcons_map(con_srv_t *, sysarg_t, sysarg_t, charfield_t **); … … 116 117 .set_rgb_color = remcons_set_rgb_color, 117 118 .set_cursor_visibility = remcons_cursor_visibility, 119 .set_caption = remcons_set_caption, 118 120 .get_event = remcons_get_event, 119 121 .map = remcons_map, … … 349 351 350 352 remcons->curs_visible = visible; 353 } 354 355 static errno_t remcons_set_caption(con_srv_t *srv, const char *caption) 356 { 357 remcons_t *remcons = srv_to_remcons(srv); 358 359 if (remcons->enable_ctl) { 360 vt100_set_title(remcons->vt, caption); 361 } 362 363 return EOK; 351 364 } 352 365
Note:
See TracChangeset
for help on using the changeset viewer.