whitespaces
This commit is contained in:
parent
3a6dd294de
commit
463a703183
1 changed files with 2 additions and 2 deletions
|
@ -231,7 +231,7 @@ bool_t gwinGetVisible(GHandle gh) {
|
||||||
#if GWIN_NEED_HIERARCHY
|
#if GWIN_NEED_HIERARCHY
|
||||||
// return TRUE if all widgets (itself + parents) are visble, false otherwise
|
// return TRUE if all widgets (itself + parents) are visble, false otherwise
|
||||||
GHandle e = gh;
|
GHandle e = gh;
|
||||||
for(e = gh; e; e = e->parent) {
|
for (e = gh; e; e = e->parent) {
|
||||||
if (!(e->flags & GWIN_FLG_VISIBLE))
|
if (!(e->flags & GWIN_FLG_VISIBLE))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
@ -259,7 +259,7 @@ bool_t gwinGetEnabled(GHandle gh) {
|
||||||
#if GWIN_NEED_HIERARCHY
|
#if GWIN_NEED_HIERARCHY
|
||||||
// return TRUE if all widgets (itself + parents) are enabled, false otherwise
|
// return TRUE if all widgets (itself + parents) are enabled, false otherwise
|
||||||
GHandle e = gh;
|
GHandle e = gh;
|
||||||
for(e = gh; e; e = e->parent) {
|
for (e = gh; e; e = e->parent) {
|
||||||
if (!(e->flags & GWIN_FLG_ENABLED))
|
if (!(e->flags & GWIN_FLG_ENABLED))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue