Rev 2530 | Rev 3686 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2530 | Rev 3034 | ||
---|---|---|---|
Line 2100... | Line 2100... | ||
2100 | jae @f |
2100 | jae @f |
2101 | add ebx, con.vscroll_width |
2101 | add ebx, con.vscroll_width |
2102 | @@: |
2102 | @@: |
2103 | xor eax, eax |
2103 | xor eax, eax |
2104 | int 0x40 |
2104 | int 0x40 |
- | 2105 | ;Leency{ |
|
- | 2106 | mov eax,9 |
|
- | 2107 | mov ebx,process_info_buffer |
|
- | 2108 | mov ecx,-1 |
|
- | 2109 | int 0x40 |
|
- | 2110 | mov eax,[ebx+70] |
|
- | 2111 | mov [window_status],eax |
|
- | 2112 | test [window_status],100b ; window is rolled up |
|
- | 2113 | jnz .exit |
|
- | 2114 | test [window_status],10b ; window is minimized to panel |
|
- | 2115 | jnz .exit |
|
- | 2116 | ;}Leency - I'm in diamond code... |
|
2105 | call con.draw_image |
2117 | call con.draw_image |
- | 2118 | ||
- | 2119 | .exit: |
|
2106 | push 12 |
2120 | push 12 |
2107 | pop eax |
2121 | pop eax |
2108 | push 2 |
2122 | push 2 |
2109 | pop ebx |
2123 | pop ebx |
2110 | int 0x40 |
2124 | int 0x40 |
- | 2125 | ||
2111 | ret |
2126 | ret |
Line 2112... | Line 2127... | ||
2112 | 2127 | ||
2113 | con.draw_image: |
2128 | con.draw_image: |
2114 | xor edx, edx |
2129 | xor edx, edx |
Line 2268... | Line 2283... | ||
2268 | con.def_scr_width dd 80 |
2283 | con.def_scr_width dd 80 |
2269 | con.def_scr_height dd 300 |
2284 | con.def_scr_height dd 300 |
2270 | con.def_wnd_x dd 200 |
2285 | con.def_wnd_x dd 200 |
2271 | con.def_wnd_y dd 50 |
2286 | con.def_wnd_y dd 50 |
Line -... | Line 2287... | ||
- | 2287 | ||
- | 2288 | ||
- | 2289 | struc process_info |
|
- | 2290 | { |
|
- | 2291 | cpu_usage dd ? ; +0 |
|
- | 2292 | window_stack_position dw ? ; +4 |
|
- | 2293 | window_stack_value dw ? ; +6 |
|
- | 2294 | dw ? ; +8 |
|
- | 2295 | process_name rb 12 ; +10 |
|
- | 2296 | memory_start dd ? ; +22 |
|
- | 2297 | used_memory dd ? ; +26 |
|
- | 2298 | PID dd ? ; +30 |
|
- | 2299 | box.x dd ? ; +34 |
|
- | 2300 | box.y dd ? ; +38 |
|
- | 2301 | box.width dd ? ; +42 |
|
- | 2302 | box.height dd ? ; +46 |
|
- | 2303 | slot_state dw ? ; +50 |
|
- | 2304 | dw ? ; +52 |
|
- | 2305 | client_box.x dd ? ; +54 |
|
- | 2306 | client_box.y dd ? ; +58 |
|
- | 2307 | client_box.width dd ? ; +62 |
|
- | 2308 | client_box.height dd ? ; +66 |
|
- | 2309 | wnd_state db ? ; +70 |
|
- | 2310 | rb (1024-71) |
|
- | 2311 | } |
|
- | 2312 | process_info_buffer process_info |
|
- | 2313 | window_status rd 1 |
|
2272 | 2314 | ||
Line 2273... | Line 2315... | ||
2273 | con.vscroll_pt dd -1 |
2315 | con.vscroll_pt dd -1 |
2274 | 2316 | ||
2275 | align 16 |
2317 | align 16 |