Subversion Repositories Kolibri OS

Rev

Rev 109 | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 109 Rev 3587
1
CALENDAR FOR MENUET v1.0        January 13, 2005
1
CALENDAR FOR MENUET v1.0        January 13, 2005
2
 Written in pure assembler by Ivushkin Andrey aka Willow
2
 Written in pure assembler by Ivushkin Andrey aka Willow
3
 
3
 
4
I salute users and programmers of Menuet operation system!
4
I salute users and programmers of Menuet operation system!
5
Also, I tender thanks to everyone who spends his time in feasible efforts
5
Also, I tender thanks to everyone who spends his time in feasible efforts
6
for that little OS evolution. My special thanks to Ivan Poddubny whose distro
6
for that little OS evolution. My special thanks to Ivan Poddubny whose distro
7
(re8pre2) runs on VMware Workstation incomparably and bugless. That, as well
7
(re8pre2) runs on VMware Workstation incomparably and bugless. That, as well
8
as MACROS.INC and DEBUG.INC files, simplify the developing greatly.
8
as MACROS.INC and DEBUG.INC files, simplify the developing greatly.
9
 
9
 
10
Today I let you to judge a desktop calendar, similar to the Windows one.
10
Today I let you to judge a desktop calendar, similar to the Windows one.
11
Application abilities are:
11
Application abilities are:
12
 
12
 
13
1. Interface is translated into Russian,English, German, French, and Finnish
13
1. Interface is translated into Russian,English, German, French, Italian
14
    (not completely - there was no help). Day sequence difference is taken
14
   and Finnish (not completely - there was no help). Day sequence
15
    into account as well. You may change localization through 'lang' constant
15
   difference is taken into account as well. You may change localization
16
    while compiling.
16
   through 'lang' constant while compiling.
17
2. Calendar is equipped with additional buttons 'Today' and 'New style' that
17
2. Calendar is equipped with additional buttons 'Today' and 'New style' that
18
    are self-explaining.
18
   are self-explaining.
19
3. I tied to follow world GUI standards: use TAB to move along fields; while
19
3. I tied to follow world GUI standards: use TAB to move along fields; while
20
    editing the year, use Backspace and Del, as well as left and right arrows
20
   editing the year, use Backspace and Del, as well as left and right arrows
21
    of 'spinner' when in its focus. Arrow keys navigate along day matrix.
21
   of 'spinner' when in its focus. Arrow keys navigate along day matrix.
22
    Pressing Ctrl-F1...Ctrl-F12 selects appropriate month.
22
   Pressing Ctrl-F1...Ctrl-F12 selects appropriate month.
23
 
23
 
24
To-Do list:
24
To-Do list:
25
 
25
 
26
1. Program internal routines allow calculating amount of days between two dates.
26
1. Program internal routines allow calculating amount of days between two dates.
27
    It is possible to add a feature of calculating biorhythms and draw their
27
    It is possible to add a feature of calculating biorhythms and draw their
28
    graphs.
28
    graphs.
29
2. Add comments to source.
29
2. Add comments to source.
30
3. Correct bugs to be found ;-)
30
3. Correct bugs to be found ;-)
31
 
31
 
32
I dedicate my application to the Ukrainian Orange Revolution.
32
I dedicate my application to the Ukrainian Orange Revolution.
33
 
33
 
34
Razom nas bahato, nas ne podolaty!
34
Razom nas bahato, nas ne podolaty!
35
 
35
 
36
 
36
 
37
****************************************
37
****************************************
38
****************************************
38
****************************************
39
 
39
 
40
Š€‹…„€œ „‹Ÿ MENUET v1.0       13 ï­¢ àï 2005 £.
40
Š€‹…„€œ „‹Ÿ MENUET v1.0       13 ï­¢ àï 2005 £.
41
  ¯¨á ­  ­  ç¨á⮬  áᥬ¡«¥à¥ ˆ¢ã誨­ë¬ €­¤à¥¥¬ (Willow)
41
  ¯¨á ­  ­  ç¨á⮬  áᥬ¡«¥à¥ ˆ¢ã誨­ë¬ €­¤à¥¥¬ (Willow)
42
 
42
 
43
—¥áâì ¨ 墠«  ࠬ ¨ ¯à®£à ¬¬¨áâ ¬ ®¯¥à æ¨®­­®© á¨á⥬ë Menuet!
43
—¥áâì ¨ 墠«  ࠬ ¨ ¯à®£à ¬¬¨áâ ¬ ®¯¥à æ¨®­­®© á¨á⥬ë Menuet!
44
‚ëà ¦ î ¨áªà¥­­îî ¡« £®¤ à­®áâì ¢á¥¬ ⥬, ªâ® ­¥ ¦ «¥ï ᢮¥£® ¢à¥¬¥­¨,
44
‚ëà ¦ î ¨áªà¥­­îî ¡« £®¤ à­®áâì ¢á¥¬ ⥬, ªâ® ­¥ ¦ «¥ï ᢮¥£® ¢à¥¬¥­¨,
45
¤¥« ¥â ¯®á¨«ì­ë© ¢ª« ¤ ¢ à §¢¨â¨¥ í⮩ ¬ «¥­ìª®© Ž‘. Žá®¡®¥ ᯠᨡ® å®çã ᪠§ âì
45
¤¥« ¥â ¯®á¨«ì­ë© ¢ª« ¤ ¢ à §¢¨â¨¥ í⮩ ¬ «¥­ìª®© Ž‘. Žá®¡®¥ ᯠᨡ® å®çã ᪠§ âì
46
ˆ¢ ­ã ®¤¤ã¡­®¬ã, ¤¨áâਡã⨢ ª®â®à®£® (re8pre2) ¡¥á¯®¤®¡­® ¨ ¡¥§ £«îª®¢
46
ˆ¢ ­ã ®¤¤ã¡­®¬ã, ¤¨áâਡã⨢ ª®â®à®£® (re8pre2) ¡¥á¯®¤®¡­® ¨ ¡¥§ £«îª®¢
47
à ¡®â ¥â ¢ VMware Workstation. â®,   â ª¦¥ ä ©«ë MACROS.INC ¨ DEBUG.INC ᨫ쭮
47
à ¡®â ¥â ¢ VMware Workstation. â®,   â ª¦¥ ä ©«ë MACROS.INC ¨ DEBUG.INC ᨫ쭮
48
ã¯à®é îâ ࠧࠡ®âªã.
48
ã¯à®é îâ ࠧࠡ®âªã.
49
 
49
 
50
‘¥£®¤­ï ï ¯à¥¤áâ ¢«ïî ­  ¢ è á㤠­ á⮫ì­ë© ª «¥­¤ à¨ª, ­ ¯®¤®¡¨¥ ⮣®, çâ®
50
‘¥£®¤­ï ï ¯à¥¤áâ ¢«ïî ­  ¢ è á㤠­ á⮫ì­ë© ª «¥­¤ à¨ª, ­ ¯®¤®¡¨¥ ⮣®, çâ®
51
¨¬¥¥âáï ¢ Windows. ‚®§¬®¦­®á⨠¯à®£à ¬¬ë:
51
¨¬¥¥âáï ¢ Windows. ‚®§¬®¦­®á⨠¯à®£à ¬¬ë:
52
 
52
 
53
1. ˆ­â¥àä¥©á ¯¥à¥¢¥¤¥­ ­  àãá᪨©,  ­£«¨©áª¨©, ­¥¬¥æª¨©, äà ­æã§áª¨© ¨ 䨭᪨©
53
1. ˆ­â¥àä¥©á ¯¥à¥¢¥¤¥­ ­  àãá᪨©,  ­£«¨©áª¨©, ­¥¬¥æª¨©, äà ­æã§áª¨© ¨ 䨭᪨©
54
    (­¥ ¯®«­®áâìî - ªâ® ¡ë ¯®¬®£?) ï§ëª¨. “çâ¥­ë ®â«¨ç¨ï ¢ ¯®à浪¥ á«¥¤®¢ ­¨ï
54
    (­¥ ¯®«­®áâìî - ªâ® ¡ë ¯®¬®£?) ï§ëª¨. “çâ¥­ë ®â«¨ç¨ï ¢ ¯®à浪¥ á«¥¤®¢ ­¨ï
55
    ¤­¥© ­¥¤¥«¨. Ÿ§ëª ¬®¦­® ¯®¬¥­ïâì ¯à¨ ª®¬¯¨«ï樨 áâ ­¤ àâ­®© ª®­á⠭⮩
55
    ¤­¥© ­¥¤¥«¨. Ÿ§ëª ¬®¦­® ¯®¬¥­ïâì ¯à¨ ª®¬¯¨«ï樨 áâ ­¤ àâ­®© ª®­á⠭⮩
56
    "lang".
56
    "lang".
57
2. Š «¥­¤ à¨ª ®¡®à㤮¢ ­ ¤®¯®«­¨â¥«ì­ë¬¨ ª­®¯ª ¬¨ "‘¥£®¤­ï" ¨ "®¢ë© á⨫ì",
57
2. Š «¥­¤ à¨ª ®¡®à㤮¢ ­ ¤®¯®«­¨â¥«ì­ë¬¨ ª­®¯ª ¬¨ "‘¥£®¤­ï" ¨ "®¢ë© á⨫ì",
58
    ­ §¢ ­¨ï ª®â®àëå £®¢®àïâ á ¬¨ §  ᥡï.
58
    ­ §¢ ­¨ï ª®â®àëå £®¢®àïâ á ¬¨ §  ᥡï.
59
3. Ÿ ¯ëâ «áï á«¥¤®¢ âì ¬¨à®¢ë¬ áâ ­¤ àâ ¬ GUI: ¤«ï ¯¥à¥¬¥é¥­¨ï ¬¥¦¤ã ¯®«ï¬¨
59
3. Ÿ ¯ëâ «áï á«¥¤®¢ âì ¬¨à®¢ë¬ áâ ­¤ àâ ¬ GUI: ¤«ï ¯¥à¥¬¥é¥­¨ï ¬¥¦¤ã ¯®«ï¬¨
60
    ¢¢®¤  ¨á¯®«ì§ã¥âáï TAB, ¢ ¯®«¥ £®¤  ¤¥©áâ¢ãîâ ª« ¢¨è¨ Backspace ¨ Del,
60
    ¢¢®¤  ¨á¯®«ì§ã¥âáï TAB, ¢ ¯®«¥ £®¤  ¤¥©áâ¢ãîâ ª« ¢¨è¨ Backspace ¨ Del,
61
    ç¨á«® £®¤  ¬®¦­® ¨§¬¥­ïâì áâ५ª ¬¨ ¢«¥¢® ¨ ¢¯à ¢® ¢ 䮪ãᥠ"ᯨ­­¥à ", ¢
61
    ç¨á«® £®¤  ¬®¦­® ¨§¬¥­ïâì áâ५ª ¬¨ ¢«¥¢® ¨ ¢¯à ¢® ¢ 䮪ãᥠ"ᯨ­­¥à ", ¢
62
    ¯®«¥ ª «¥­¤ àï à ¡®â îâ áâ५ª¨.  ¦ â¨¥¬ Ctrl-F1...Ctrl-F12 ¬®¦­® ¡ëáâà®
62
    ¯®«¥ ª «¥­¤ àï à ¡®â îâ áâ५ª¨.  ¦ â¨¥¬ Ctrl-F1...Ctrl-F12 ¬®¦­® ¡ëáâà®
63
    ¯¥à¥©â¨ ª ­ã¦­®¬ã ¬¥áïæã.
63
    ¯¥à¥©â¨ ª ­ã¦­®¬ã ¬¥áïæã.
64
 
64
 
65
—â® ¥é¥ ¬®¦­® ᤥ« âì:
65
—â® ¥é¥ ¬®¦­® ᤥ« âì:
66
 
66
 
67
1. ‚­ãâ७­¨¥ ä㭪樨 ¯à®£à ¬¬ë ¯®§¢®«ïîâ ®¯à¥¤¥«¨âì ª®«¨ç¥á⢮ ¤­¥© ®â ®¤­®©
67
1. ‚­ãâ७­¨¥ ä㭪樨 ¯à®£à ¬¬ë ¯®§¢®«ïîâ ®¯à¥¤¥«¨âì ª®«¨ç¥á⢮ ¤­¥© ®â ®¤­®©
68
    ¤ âë ¤® ¤à㣮©. ‚ ª «¥­¤ àì ¬®¦­® ¡ã¤¥â ¤®¡ ¢¨âì ¢®§¬®¦­®áâì à áç¥â  â ª®£®
68
    ¤ âë ¤® ¤à㣮©. ‚ ª «¥­¤ àì ¬®¦­® ¡ã¤¥â ¤®¡ ¢¨âì ¢®§¬®¦­®áâì à áç¥â  â ª®£®
69
    ¯®¯ã«ïà­®£® ¯®ª § â¥«ï, ª ª ¡¨®à¨â¬ë (á £à ä¨ª ¬¨).
69
    ¯®¯ã«ïà­®£® ¯®ª § â¥«ï, ª ª ¡¨®à¨â¬ë (á £à ä¨ª ¬¨).
70
2. Žâª®¬¬¥­â¨à®¢ âì ª®¤.
70
2. Žâª®¬¬¥­â¨à®¢ âì ª®¤.
71
3. ˆá¯à ¢¨âì ¡ £¨, ª®â®àë¥, ¢®§¬®¦­®, ­ ©¤ãâáï ;-)
71
3. ˆá¯à ¢¨âì ¡ £¨, ª®â®àë¥, ¢®§¬®¦­®, ­ ©¤ãâáï ;-)
72
 
72
 
73
â㠯ணࠬ¬ã ï ¯®á¢ïé î ãªà ¨­áª®© ¯®¬ à ­ç¥¢®© ॢ®«î樨.
73
â㠯ணࠬ¬ã ï ¯®á¢ïé î ãªà ¨­áª®© ¯®¬ à ­ç¥¢®© ॢ®«î樨.
74
 
74
 
75
 §®¬ ­ á ¡ £ â®, ­ á ­¥ ¯®¤®« â¨!
75
 §®¬ ­ á ¡ £ â®, ­ á ­¥ ¯®¤®« â¨!