forked from pyrite-dev/milsko
add MwNhideInput
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@531 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
1e1f9653ea
commit
b1abe76aeb
5 changed files with 13 additions and 3 deletions
|
|
@ -27,7 +27,7 @@ static void draw(MwWidget handle) {
|
|||
}
|
||||
|
||||
static void click(MwWidget handle) {
|
||||
MwSetInteger(handle, MwNchecked, MwGetInteger(handle, MwNchecked) ? 0 : 1);
|
||||
if(!MwGetInteger(handle, MwNchecked)) MwSetInteger(handle, MwNchecked, 1);
|
||||
if(MwGetInteger(handle, MwNchecked) && handle->parent != NULL) {
|
||||
int i;
|
||||
for(i = 0; i < arrlen(handle->parent->children); i++) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue