26 lines
896 B
Plaintext
Executable File
26 lines
896 B
Plaintext
Executable File
WMFS's Infobar/Element low-level structure
|
|
|
|
[ ]
|
|
[ SCR33N ] => [ Infobar ]
|
|
[ ] [ (head) ] => [ Element ]
|
|
| [ (head) ] => [ SLIST_HEAD(Barwin) bars;
|
|
| | [ ElemTypes type; { ElemTag, ElemLayout, ElemSelbar, ElemStatus, (ElemSystray?) }
|
|
... | [ Geo geo;
|
|
... [ STAILQ_ENTRY(Elements) next;
|
|
|
|
|
...
|
|
|
|
This will be used with some functions, depending of element type :
|
|
|
|
Element* elem_tag_init(Infobar *i)
|
|
layout
|
|
selbar
|
|
statustext
|
|
systray?
|
|
|
|
void element_tag_update(Element *e)
|
|
layout
|
|
selbar
|
|
statustext
|
|
systray?
|