28 lines
459 B
Plaintext
28 lines
459 B
Plaintext
|
show
|
||
|
unset hidden flag
|
||
|
update state
|
||
|
hide
|
||
|
set hidden flag
|
||
|
update state
|
||
|
enable
|
||
|
unset disabled flag
|
||
|
update state
|
||
|
disable
|
||
|
set disabled flag
|
||
|
update state
|
||
|
update state
|
||
|
if shown and all parents shown
|
||
|
commit show
|
||
|
else
|
||
|
commit hide
|
||
|
if enabled and all parents enabled
|
||
|
commit enable
|
||
|
else
|
||
|
commit disable
|
||
|
update container stat
|
||
|
update container state, non-containers
|
||
|
do nothing
|
||
|
update container state, containers
|
||
|
for all children
|
||
|
update child state
|