Rev 150 | Rev 181 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 150 | Rev 163 | ||
---|---|---|---|
Line 1224... | Line 1224... | ||
1224 | .exit: |
1224 | .exit: |
1225 | popad |
1225 | popad |
1226 | ret |
1226 | ret |
Line 1227... | Line 1227... | ||
1227 | 1227 | ||
1228 | .move_resize_window: ; MOVE OR RESIZE WINDOW |
- | |
1229 | 1228 | .move_resize_window: ; MOVE OR RESIZE WINDOW |
|
Line 1230... | Line 1229... | ||
1230 | popad |
1229 | popad |
1231 | 1230 | ||
1232 | ; Check for user enabled fixed window |
1231 | ; Check for user enabled fixed window |
Line 1319... | Line 1318... | ||
1319 | mov ax, word [edi + WDATA.box.height] |
1318 | mov ax, word [edi + WDATA.box.height] |
1320 | mov word [oldc+BOX.height],ax |
1319 | mov word [oldc+BOX.height],ax |
1321 | mov word [npye],ax |
1320 | mov word [npye],ax |
1322 | pop eax |
1321 | pop eax |
Line 1323... | Line -... | ||
1323 | - | ||
1324 | test [edi+WDATA.fl_wstate],WSTATE_MAXIMIZED |
- | |
1325 | jnz @f |
1322 | |
1326 | call drawwindowframes |
- | |
Line 1327... | Line 1323... | ||
1327 | @@: |
1323 | call drawwindowframes |
1328 | 1324 | ||
Line 1329... | Line 1325... | ||
1329 | mov [reposition],0 |
1325 | mov [reposition],0 |
Line 1357... | Line 1353... | ||
1357 | sub dx,bx |
1353 | sub dx,bx |
Line 1358... | Line 1354... | ||
1358 | 1354 | ||
1359 | push ax |
1355 | push ax |
Line 1360... | Line -... | ||
1360 | push bx |
- | |
1361 | - | ||
1362 | test [edi+WDATA.fl_wstate],WSTATE_MAXIMIZED |
1356 | push bx |
1363 | jnz @f |
- | |
Line 1364... | Line 1357... | ||
1364 | call drawwindowframes |
1357 | |
1365 | @@: |
1358 | call drawwindowframes |
Line 1366... | Line 1359... | ||
1366 | 1359 | ||
Line 1434... | Line 1427... | ||
1434 | popad |
1427 | popad |
1435 | norepos_size: |
1428 | norepos_size: |
Line 1436... | Line 1429... | ||
1436 | 1429 | ||
1437 | pop bx |
1430 | pop bx |
1438 | pop ax |
- | |
1439 | test [edi+WDATA.fl_wstate],WSTATE_MAXIMIZED |
- | |
1440 | jnz @f |
1431 | pop ax |
1441 | call drawwindowframes |
- | |
Line 1442... | Line 1432... | ||
1442 | @@: |
1432 | call drawwindowframes |
1443 | 1433 | ||
Line 1444... | Line 1434... | ||
1444 | mov esi,[0xfb0a] |
1434 | mov esi,[0xfb0a] |
Line 1656... | Line 1646... | ||
1656 | 1646 | ||
Line 1657... | Line 1647... | ||
1657 | ; draw negative window frames |
1647 | ; draw negative window frames |
Line -... | Line 1648... | ||
- | 1648 | ||
- | 1649 | drawwindowframes: |
|
- | 1650 | ||
- | 1651 | test [edi+WDATA.fl_wstate],WSTATE_MAXIMIZED |
|
- | 1652 | jnz .ret |
|
1658 | 1653 | cmp [edi+WDATA.fl_redraw], 0 |
|
Line 1659... | Line 1654... | ||
1659 | drawwindowframes: |
1654 | jnz .ret |
1660 | 1655 | ||
1661 | pushad |
1656 | pushad |
Line 1721... | Line 1716... | ||
1721 | add edi,window_data |
1716 | add edi,window_data |
1722 | mov [edi+WDATA.fl_wdrawn],byte 1 |
1717 | mov [edi+WDATA.fl_wdrawn],byte 1 |
1723 | pop edi |
1718 | pop edi |
Line 1724... | Line 1719... | ||
1724 | 1719 | ||
1725 | popad |
1720 | popad |
1726 | 1721 | .ret: |
|
Line 1727... | Line 1722... | ||
1727 | ret |
1722 | ret |