Rev 8389 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8389 | Rev 8946 | ||
---|---|---|---|
Line 123... | Line 123... | ||
123 | int DefineWindow(dword wtitle) { |
123 | int DefineWindow(dword wtitle) { |
124 | sc.get(); |
124 | sc.get(); |
125 | DefineAndDrawWindow(GetScreenWidth()-WIN_W/2,GetScreenHeight()-WIN_H/2, WIN_W, WIN_H, 0x73,sc.work, 0,0); |
125 | DefineAndDrawWindow(GetScreenWidth()-WIN_W/2,GetScreenHeight()-WIN_H/2, WIN_W, WIN_H, 0x73,sc.work, 0,0); |
126 | DrawTitle(wtitle); |
126 | DrawTitle(wtitle); |
127 | GetProcessInfo(#Form, SelfInfo); |
127 | GetProcessInfo(#Form, SelfInfo); |
128 | if (Form.status_window>2) return 0; //rolled_up |
128 | if (Form.status_window&ROLLED_UP) return 0; //rolled_up |
129 | if (Form.width < WIN_MIN_W) MoveSize(OLD,OLD,WIN_MIN_W,OLD); |
129 | if (Form.width < WIN_MIN_W) MoveSize(OLD,OLD,WIN_MIN_W,OLD); |
130 | if (Form.height < WIN_MIN_H) MoveSize(OLD,OLD,OLD,WIN_MIN_H); |
130 | if (Form.height < WIN_MIN_H) MoveSize(OLD,OLD,OLD,WIN_MIN_H); |
131 | return 1; |
131 | return 1; |
132 | } |
132 | } |