Rev 2098 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2098 | Rev 2134 | ||
---|---|---|---|
Line 1... | Line 1... | ||
1 | //Leency - 2011 |
1 | //Leency - 2011 |
Line 2... | Line 2... | ||
2 | 2 | ||
Line 3... | Line -... | ||
3 | #include "imgs\logo.txt" |
- | |
4 | - | ||
5 | #define ONLY_SHOW 0 |
- | |
6 | #define WITH_REDRAW 1 |
- | |
7 | #define ONLY_OPEN 2 |
3 | #include "imgs\logo.txt" |
8 | 4 | ||
9 | #define REDRAW 1 |
5 | #define REDRAW 1 |
Line 10... | Line 6... | ||
10 | #define ANIM 2 |
6 | #define ANIM 2 |
11 | #define NOTIP 3 |
7 | #define NOTIP 3 |
Line 12... | Line 8... | ||
12 | 8 | ||
13 | #define BROWSER_PATH "/sys/htmlv" |
9 | #define BROWSER_PATH "/sys/htmlv" |
- | 10 | #define BROWSER_LINK "http://www.kolibri-os.narod.ru" |
|
14 | #define BROWSER_LINK "http://www.kolibrios.org" |
11 | |
15 | 12 | ||
16 | 13 | void authors() |
|
17 | void authors() |
14 | { |
18 | { |
15 | byte p; |
Line 26... | Line 23... | ||
26 | //êóëüíî |
23 | //êóëüíî |
27 | IF (mm.x>85) && (mm.x<155) && (mm.y>190) && (mm.y<190+22) |
24 | IF (mm.x>85) && (mm.x<155) && (mm.y>190) && (mm.y<190+22) |
28 | IF (mm.lkm) {DrawRegion_3D(86,191,68,20,0xC7C7C7,0xFFFFFF); letitclose=1;} |
25 | IF (mm.lkm) {DrawRegion_3D(86,191,68,20,0xC7C7C7,0xFFFFFF); letitclose=1;} |
29 | ELSE {IF (letitclose) {DrawRegion_3D(86,191,68,20,0xFFFFFF,0xC7C7C7); Pause(7); ExitProcess();}} |
26 | ELSE {IF (letitclose) {DrawRegion_3D(86,191,68,20,0xFFFFFF,0xC7C7C7); Pause(7); ExitProcess();}} |
30 | ELSE IF (letitclose) {letitclose=0; DrawRegion_3D(86,191,68,20,0xFFFFFF,0xC7C7C7);} |
27 | ELSE IF (letitclose) {letitclose=0; DrawRegion_3D(86,191,68,20,0xFFFFFF,0xC7C7C7);} |
- | 28 | ||
- | 29 | /*WHILE (mm.lkm==1) //àíèìàöûÿ Ûûûû))) |
|
- | 30 | { |
|
- | 31 | PutPaletteImage(p*16*15+#ficons,16,15,30,192,#ficons_pal); |
|
- | 32 | IF (p>23) p=0; ELSE p++; |
|
- | 33 | Pause(25); |
|
- | 34 | mm.get(); |
|
- | 35 | }*/ |
|
- | 36 | ||
31 | break; |
37 | break; |
32 | case evButton: |
38 | case evButton: |
33 | id=GetButtonID(); |
39 | id=GetButtonID(); |
34 | IF (id==1) ExitProcess(); |
40 | IF (id==1) ExitProcess(); |
35 | IF (id==23) RunProgram(BROWSER_PATH, BROWSER_LINK); |
41 | IF (id==23) RunProgram(BROWSER_PATH, BROWSER_LINK); |
Line 40... | Line 46... | ||
40 | case evReDraw: |
46 | case evReDraw: |
41 | WindowRedrawStatus(1); |
47 | WindowRedrawStatus(1); |
42 | DefineAndDrawWindow(500,200,181,256,0x34,0x10EFEBEF,0,0,"About Eolite"); |
48 | DefineAndDrawWindow(500,200,181,256,0x34,0x10EFEBEF,0,0,"About Eolite"); |
43 | DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè |
49 | DrawBar(0,0,172,50,0x8494C4); //ãîëóáîå ñçàäè |
44 | PutPaletteImage(#logo,85,85,43,7,#logo_pal); |
50 | PutPaletteImage(#logo,85,85,43,7,#logo_pal); |
45 | WriteText(33+6,100,0x80,0xBF40BF,"Eolite v0.99 RC2",0); |
51 | WriteText(33,100,0x80,0xBF40BF,"Eolite v0.99.8 RC3",0); |
46 | WriteText(55,120,0x80,0,"Developers:",0); |
52 | WriteText(55,120,0x80,0,"Developers:",0); |
47 | WriteText(39,130,0x80,0,"Leency & Veliant",0); |
53 | WriteText(39,130,0x80,0,"Leency & Veliant",0); |
48 | WriteText(30,140,0x80,0,"Diamond, Lrz, Nable",0); |
54 | WriteText(30,140,0x80,0,"Diamond, Lrz, Nable",0); |
49 | WriteText(55,150,0x80,0," 2008-2011 ",0); |
55 | WriteText(55,150,0x80,0," 2008-2011 ",0); |
50 | WriteText(18,170,0x80,0,"Visit",0); |
56 | WriteText(12,170,0x80,0,"Visit",0); |
51 | DrawLink(54,170,23, "www.kolibrios.org"); //ññûëêa |
57 | DrawLink(48,170,23, "kolibri-os.narod.ru"); //ññûëêa |
52 | DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close"); |
58 | DrawFlatButton(85,190,70,22,0,0xE4DFE1, "Close"); |
53 | WindowRedrawStatus(2); |
59 | WindowRedrawStatus(2); |
54 | } |
60 | } |
55 | } |
61 | } |
Line 60... | Line 66... | ||
60 | DrawBar(x,y+8,strlen(inscription)*6,1,0x4E00E7); //ïîä÷åðêíóòü ññûëêó |
66 | DrawBar(x,y+8,strlen(inscription)*6,1,0x4E00E7); //ïîä÷åðêíóòü ññûëêó |
61 | DefineButton(x-1,y-1,strlen(inscription)*6,10,btn_id+BT_HIDE,0); |
67 | DefineButton(x-1,y-1,strlen(inscription)*6,10,btn_id+BT_HIDE,0); |
62 | } |
68 | } |
Line 63... | Line 69... | ||
63 | 69 | ||
64 | 70 | ||
Line 65... | Line 71... | ||
65 | ?define add_new_path 1 |
71 | #define add_new_path 1 |
66 | ?define go_back 2 |
72 | #define go_back 2 |
67 | 73 | ||
68 | void HistoryPath(byte action) |
74 | void HistoryPath(byte action) |