Rev 7506 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7506 | Rev 7806 | ||
---|---|---|---|
Line 175... | Line 175... | ||
175 | void DrawLoginScreen() |
175 | void DrawLoginScreen() |
176 | { |
176 | { |
177 | panel_x = Form.cwidth - PANEL_W /2; |
177 | panel_x = Form.cwidth - PANEL_W /2; |
178 | panel_y = Form.cheight - PANEL_H /2 - 5; |
178 | panel_y = Form.cheight - PANEL_H /2 - 5; |
Line 179... | Line 179... | ||
179 | 179 | ||
Line 180... | Line 180... | ||
180 | DrawBar(0,0, Form.cwidth, Form.cheight, system.color.work); |
180 | DrawBar(0,0, Form.cwidth, Form.cheight, sc.work); |
181 | 181 | ||
Line 182... | Line 182... | ||
182 | WriteText(panel_x,panel_y-3,0x80,system.color.work_text,"Your Email:"); |
182 | WriteText(panel_x,panel_y-3,0x80,sc.work_text,"Your Email:"); |
183 | DrawEditBoxPos(panel_x+3, panel_y+12, #login_box); |
183 | DrawEditBoxPos(panel_x+3, panel_y+12, #login_box); |
Line 184... | Line 184... | ||
184 | 184 | ||
185 | WriteText(panel_x,panel_y+45,0x80,system.color.work_text,"Password:"); |
185 | WriteText(panel_x,panel_y+45,0x80,sc.work_text,"Password:"); |
186 | DrawEditBoxPos(panel_x+3, panel_y+60, #pass_box); |
186 | DrawEditBoxPos(panel_x+3, panel_y+60, #pass_box); |
187 | 187 | ||
188 | if (!aim) |
188 | if (!aim) |
189 | { |
189 | { |
Line 190... | Line 190... | ||
190 | DrawCaptButton(panel_x,panel_y+100,100,26,11,system.color.work_button, system.color.work_button_text,"Settings"); |
190 | DrawCaptButton(panel_x,panel_y+100,100,26,11,sc.button, sc.button_text,"Settings"); |
191 | DrawCaptButton(panel_x+120,panel_y+100,100,26,12,system.color.work_button, system.color.work_button_text,"Enter >"); |
191 | DrawCaptButton(panel_x+120,panel_y+100,100,26,12,sc.button, sc.button_text,"Enter >"); |
Line 215... | Line 215... | ||
215 | if (!strcmp(#POP_server_path, "pop.gmail.com")) StopConnect("Can't connect GMAIL servers. Not support SSL/TLS encryption"); |
215 | if (!strcmp(#POP_server_path, "pop.gmail.com")) StopConnect("Can't connect GMAIL servers. Not support SSL/TLS encryption"); |
216 | } |
216 | } |
Line 217... | Line 217... | ||
217 | 217 | ||
218 | void SetLoginStatus(dword text1) |
218 | void SetLoginStatus(dword text1) |
219 | { |
219 | { |
220 | if (text1) WriteText(10, Form.cheight-22, 0x80, system.color.work_text, text1); |
220 | if (text1) WriteText(10, Form.cheight-22, 0x80, sc.work_text, text1); |
221 | cur_st_text = text1; |
221 | cur_st_text = text1; |
222 | }>>> |
222 | }>>> |