forked from pyrite-dev/milsko
cleaner
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@277 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
1574d9af33
commit
d7a4c7866e
3 changed files with 7 additions and 13 deletions
|
|
@ -187,7 +187,10 @@ static void mouse_down(MwWidget handle, void* ptr) {
|
|||
}
|
||||
|
||||
static void prop_change(MwWidget handle, const char* key) {
|
||||
if(strcmp(key, MwNminValue) == 0 || strcmp(key, MwNvalue) == 0 || strcmp(key, MwNmaxValue) == 0 || strcmp(key, MwNareaShown) == 0) MwForceRender(handle);
|
||||
if(strcmp(key, MwNminValue) == 0 || strcmp(key, MwNvalue) == 0 || strcmp(key, MwNmaxValue) == 0 || strcmp(key, MwNareaShown) == 0) {
|
||||
if(handle->prop_event) MwDispatchUserHandler(handle, MwNchangedHandler, NULL);
|
||||
MwForceRender(handle);
|
||||
}
|
||||
}
|
||||
|
||||
MwClassRec MwScrollBarClassRec = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue