Rev 8944 | Rev 8949 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8944 | Rev 8946 | ||
---|---|---|---|
Line 162... | Line 162... | ||
162 | void draw_window() |
162 | void draw_window() |
163 | { |
163 | { |
164 | sc.get(); |
164 | sc.get(); |
165 | DefineAndDrawWindow(screen.width-600/2,100,640,600+skin_height,0x73,sc.work,T_WINDOW_HEADER,0); |
165 | DefineAndDrawWindow(screen.width-600/2,100,640,600+skin_height,0x73,sc.work,T_WINDOW_HEADER,0); |
166 | GetProcessInfo(#Form, SelfInfo); |
166 | GetProcessInfo(#Form, SelfInfo); |
167 | IF (Form.status_window>=2) return; |
167 | IF (Form.status_window&ROLLED_UP) return; |
168 | if (Form.width < 270) { MoveSize(OLD,OLD,270,OLD); return; } |
168 | if (Form.width < 270) { MoveSize(OLD,OLD,270,OLD); return; } |
169 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); return; } |
169 | if (Form.height < 200) { MoveSize(OLD,OLD,OLD,200); return; } |
170 | SelectList_Init( 0, TOOLBAR_H, |
170 | SelectList_Init( 0, TOOLBAR_H, |
171 | Form.cwidth-scroll1.size_x-1, |
171 | Form.cwidth-scroll1.size_x-1, |
172 | Form.cheight-TOOLBAR_H-1); |
172 | Form.cheight-TOOLBAR_H-1); |