handle newline
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@786 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
4c26f37f63
commit
77c91948a5
2 changed files with 26 additions and 10 deletions
|
|
@ -24,13 +24,13 @@ static void draw(MwWidget handle) {
|
|||
r.width = MwGetInteger(handle, MwNwidth);
|
||||
r.height = MwGetInteger(handle, MwNheight);
|
||||
|
||||
if(MwGetInteger(handle, MwNflat)){
|
||||
if(handle->pressed){
|
||||
if(MwGetInteger(handle, MwNflat)) {
|
||||
if(handle->pressed) {
|
||||
MwDrawWidgetBack(handle, &r, base, handle->pressed, 1);
|
||||
}else{
|
||||
} else {
|
||||
MwDrawRect(handle, &r, base);
|
||||
}
|
||||
}else{
|
||||
} else {
|
||||
MwDrawWidgetBack(handle, &r, base, handle->pressed, 1);
|
||||
}
|
||||
if(MwGetInteger(handle, MwNflat) && !handle->pressed) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue