Subversion Repositories SvarDOS

Compare Revisions

No changes between revisions

Ignore whitespace Rev 1362 → Rev 1363

/sved/trunk/deflang.c
43,10 → 43,10
0x000b,0x0086,
0x000c,0x0095,
0x0100,0x00a4,
0x0801,0x00cf,
0x0802,0x00d9,
0x0803,0x00de,
0x0804,0x00e9,
0x0805,0x00ef,
0x0806,0x00fa
0x0800,0x00cf,
0x0801,0x00d9,
0x0802,0x00de,
0x0803,0x00e9,
0x0804,0x00ef,
0x0805,0x00fa
};
/sved/trunk/nls/en_utf8.txt
28,9 → 28,9
# MENU #
########
 
8.1:Open file
8.2:Save
8.3:Save as...
8.4:Close
8.5:Change EOL
8.6:Quit
8.0:Open file
8.1:Save
8.2:Save as...
8.3:Close
8.4:Change EOL
8.5:Quit
/sved/trunk/sved.c
754,13 → 754,13
 
 
enum MENU_ACTION {
MENU_NONE = 0,
MENU_OPEN = 1,
MENU_SAVE = 2,
MENU_SAVEAS = 3,
MENU_CLOSE = 4,
MENU_CHGEOL = 5,
MENU_QUIT = 6
MENU_OPEN = 0,
MENU_SAVE = 1,
MENU_SAVEAS = 2,
MENU_CLOSE = 3,
MENU_CHGEOL = 4,
MENU_QUIT = 5,
MENU_NONE = 0xff
};
 
static enum MENU_ACTION ui_menu(void) {
779,18 → 779,18
curchoice = MENU_OPEN;
for (;;) {
/* render menu */
for (i = MENU_NONE; i <= MENU_QUIT + 1; i++) {
mdr_cout_char_rep(i, 0, ' ', SCHEME_MENU, slen+4);
for (i = MENU_OPEN; i <= MENU_QUIT + 1; i++) {
mdr_cout_char_rep(i, 0, ' ', SCHEME_MENU, slen+3);
if (i == curchoice) {
attr = SCHEME_MENU_CUR;
mdr_cout_char(i, 1, '>', SCHEME_MENU_SEL);
mdr_cout_char(i, 0, '>', SCHEME_MENU_SEL);
} else {
attr = SCHEME_MENU;
}
x = mdr_cout_str(i, 2, svarlang_str(8, i), attr, slen);
x = mdr_cout_str(i, 1, svarlang_str(8, i), attr, slen);
if (i == curchoice) {
mdr_cout_char_rep(i, x + 2, ' ', SCHEME_MENU_SEL, slen - x + 1);
mdr_cout_locate(i, x + 2);
mdr_cout_char_rep(i, x + 1, ' ', SCHEME_MENU_SEL, slen - x + 1);
mdr_cout_locate(i, x + 1);
}
}
/* wait for key */
/sved/trunk/sved.lng
Cannot display: file marked as a binary type.
svn:mime-type = application/octet-stream