mirror of
https://github.com/labwc/labwc.git
synced 2026-06-13 14:33:18 -04:00
ssd: add basic always-on-top button
This commit is contained in:
parent
5f668a82ee
commit
838113cc44
9 changed files with 36 additions and 2 deletions
12
src/theme.c
12
src/theme.c
|
|
@ -316,6 +316,18 @@ load_buttons(struct theme *theme)
|
|||
.type = LAB_NODE_BUTTON_OMNIPRESENT,
|
||||
.state_set = LAB_BS_TOGGLED,
|
||||
}, {
|
||||
|
||||
// TODO Add proper bitmaps
|
||||
.name = "ontop",
|
||||
.fallback_button = (const char[]){ 0x33, 0x33, 0x00, 0x00, 0x33, 0x33 },
|
||||
.type = LAB_NODE_BUTTON_ONTOP,
|
||||
.state_set = 0,
|
||||
}, {
|
||||
.name = "ontop_toggled",
|
||||
.fallback_button = (const char[]){ 0x33, 0x3f, 0x1e, 0x1e, 0x3f, 0x33 },
|
||||
.type = LAB_NODE_BUTTON_ONTOP,
|
||||
.state_set = LAB_BS_TOGGLED,
|
||||
}, {
|
||||
.name = "close",
|
||||
.fallback_button = (const char[]){ 0x33, 0x3f, 0x1e, 0x1e, 0x3f, 0x33 },
|
||||
.type = LAB_NODE_BUTTON_CLOSE,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue