Subversion Repositories Kolibri OS

Rev

Rev 5428 | Rev 5549 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 5428 Rev 5481
Line 21... Line 21...
21
#endif
21
#endif
Line 22... Line 22...
22
 
22
 
23
void about_dialog()
23
void about_dialog()
24
{   
24
{   
-
 
25
	byte id;
-
 
26
	proc_info about_form;
25
	byte id;
27
 
26
	IF (active_about) ExitProcess();
28
	IF (active_about) ExitProcess();
27
	active_about=1;
29
	active_about=1;
28
	loop() switch(WaitEvent())
30
	loop() switch(WaitEvent())
29
	{
31
	{
Line 45... Line 47...
45
				}
47
				}
46
				break;
48
				break;
Line 47... Line 49...
47
				
49
				
48
		case evReDraw:
50
		case evReDraw:
-
 
51
				DefineAndDrawWindow(600,150,181,228+GetSkinHeight(),0x34,sc.work,INTRO_TEXT_1);
-
 
52
				GetProcessInfo(#about_form, SelfInfo);
49
				DefineAndDrawWindow(600,150,181,228+GetSkinHeight(),0x34,sc.work,INTRO_TEXT_1);
53
				if (Form.status_window>2) break;
50
				DrawBar(0,0,172,50,0x8494C4);
54
				DrawBar(0,0,about_form.cwidth,50,0x8494C4);
51
				PutPaletteImage(#logo,85,85,43,7,8,#logo_pal);
55
				PutPaletteImage(#logo,85,85,43,7,8,#logo_pal);
52
				WriteTextB(46,100,0x90,0xBF40BF,ABOUT_TITLE);
-
 
53
				#ifdef LANG_RUS
56
				WriteTextB(46,100,0x90,0xBF40BF,ABOUT_TITLE);
54
				WriteText(50,120,0x80,0,INTRO_TEXT_2);
-
 
55
				#else
-
 
56
				WriteText(55,120,0x80,0,INTRO_TEXT_2);
-
 
57
				#endif				
57
				WriteTextCenter(0,120,about_form.cwidth,0,INTRO_TEXT_2);			
58
				WriteText(39,130,0x80,0,"Leency & Veliant"); 
58
				WriteTextCenter(0,130,about_form.cwidth,0,"Leency Veliant PunkJoker"); 
59
				WriteText(45,140,0x80,0,"KolibriOS Team");
59
				WriteTextCenter(0,140,about_form.cwidth,0,"KolibriOS Team");
60
				WriteText(61,150,0x80,0,"2008-2015");
-
 
61
				#ifdef LANG_RUS
60
				WriteTextCenter(0,150,about_form.cwidth,0,"2008-2015");
62
				WriteText(19,170,0x80,0,INTRO_TEXT_3);
-
 
63
				#else
-
 
64
				WriteText(29,170,0x80,0,INTRO_TEXT_3);
-
 
65
				#endif				
61
				WriteTextCenter(10,170,70,0,INTRO_TEXT_3);			
66
				DrawLink(71,170,0x80,23, "kolibri-n.org");
62
				DrawLink(71,170,0x80,23, "kolibri-n.org");
67
				DrawFlatButton(85,190,70,22,10,0xE4DFE1, INTRO_TEXT_4);
63
				DrawFlatButton(85,190,70,22,10,0xE4DFE1, INTRO_TEXT_4);
68
	}
64
	}
69
}
65
}