Changeset b769ca0 in mainline for uspace/lib/ui/src/wdecor.c
- Timestamp:
- 2026-02-19T00:01:36Z (28 hours ago)
- Branches:
- master
- Children:
- 08fcaf2
- Parents:
- 39f67f1
- File:
-
- 1 edited
-
uspace/lib/ui/src/wdecor.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/ui/src/wdecor.c
r39f67f1 rb769ca0 1 1 /* 2 * Copyright (c) 202 4Jiri Svoboda2 * Copyright (c) 2026 Jiri Svoboda 3 3 * All rights reserved. 4 4 * … … 66 66 }; 67 67 68 static ui_pbutton_ decor_ops_t ui_wdecor_btn_min_decor_ops = {69 . paint = ui_wdecor_btn_min_paint68 static ui_pbutton_ops_t ui_wdecor_btn_min_ops = { 69 .decor_paint = ui_wdecor_btn_min_paint 70 70 }; 71 71 … … 74 74 }; 75 75 76 static ui_pbutton_ decor_ops_t ui_wdecor_btn_max_decor_ops = {77 . paint = ui_wdecor_btn_max_paint76 static ui_pbutton_ops_t ui_wdecor_btn_max_ops = { 77 .decor_paint = ui_wdecor_btn_max_paint 78 78 }; 79 79 … … 82 82 }; 83 83 84 static ui_pbutton_ decor_ops_t ui_wdecor_btn_close_decor_ops = {85 . paint = ui_wdecor_btn_close_paint84 static ui_pbutton_ops_t ui_wdecor_btn_close_ops = { 85 .decor_paint = ui_wdecor_btn_close_paint 86 86 }; 87 87 … … 175 175 (void *)wdecor); 176 176 177 ui_pbutton_set_ decor_ops(wdecor->btn_min,178 &ui_wdecor_btn_min_decor_ops,(void *)wdecor);177 ui_pbutton_set_ops(wdecor->btn_min, &ui_wdecor_btn_min_ops, 178 (void *)wdecor); 179 179 } 180 180 … … 189 189 (void *)wdecor); 190 190 191 ui_pbutton_set_ decor_ops(wdecor->btn_max,192 &ui_wdecor_btn_max_decor_ops,(void *)wdecor);191 ui_pbutton_set_ops(wdecor->btn_max, &ui_wdecor_btn_max_ops, 192 (void *)wdecor); 193 193 } 194 194 … … 203 203 (void *)wdecor); 204 204 205 ui_pbutton_set_ decor_ops(wdecor->btn_close,206 &ui_wdecor_btn_close_decor_ops,(void *)wdecor);205 ui_pbutton_set_ops(wdecor->btn_close, &ui_wdecor_btn_close_ops, 206 (void *)wdecor); 207 207 } 208 208
Note:
See TracChangeset
for help on using the changeset viewer.
