kolibrios-fun/programs/cmm/txtread/data.h
Kirill Lipatov (Leency) ac0309d8c4 Eskin: if skin file was not defined then no skin set. Default system skin will be used in this case. Probably a bit speedup system boot.
TxtRead: autodetect encoding, fix about encoding

git-svn-id: svn://kolibrios.org@7872 a494cfbc-eb01-0410-851d-a64ba20cac60
2020-05-05 22:38:26 +00:00

88 lines
2.2 KiB
C
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//===================================================//
// //
// TRANSLATIONS //
// //
//===================================================//
#ifdef LANG_RUS
#define INTRO_TEXT "<22>â® ¯à®á⮩ ¯à®á¬®âà騪 ⥪áâ .\n<>®¯à®¡ã©â¥ ®âªàëâì ª ª®©-­¨¡ã¤ì ⥪áâ®¢ë© ä ©«."
#define VERSION "Text Reader v1.41"
#define ABOUT "ˆ¤¥ï: Leency, punk_joker
Š®¤: Leency, Veliant, KolibriOS Team
ƒ®àï稥 ª« ¢¨è¨:
Ctrl+O - ®âªàëâì ä ©«
Ctrl+I - ¯®ª § âì ¨­ä®à¬ æ¨î ® ä ©«¥
Ctrl+<EFBFBD>«îá - 㢥«¨ç¨âì èà¨äâ
Ctrl+Œ¨­ãá - 㬥­ìè¨âì èà¨äâ
Ctrl+Tab - ¢ë¡à âì ª®¤¨à®¢ªã ⥪áâ 
Ctrl+E - ®âªàëâì ä ©« ¢ ¤à㣮© ¯à®£à ¬¬¥
<EFBFBD>®¨áª:
Ctrl+F - ®âªàëâì ¯ ­¥«ì ¯®¨áª 
F3 - ¨áª âì ¤ «¥¥
Esc - áªàëâì ¯ ­¥«ì ¯®¨áª 
<EFBFBD> ¦¬¨â¥ «î¡ãî ª« ¢¨èã..."
char color_scheme_names[] =
"—¥à­ë© ­  ¡¥«®¬
¥à­ë© ­  á¥à®¬ |RtfRead
¥à­ë© ­  «ì­¥ |Horst
¥à­ë© ­  宫á⥠|Pocket
¥à­ë© ­  ¦¥«â®¬ |Fb2Read
¥àë© ­  ⥬­®¬1 |Godot
¥àë© ­  ⥬­®¬2 |Monokai";
#else
#define INTRO_TEXT "This is a plain Text Reader.\nTry to open some text file."
#define VERSION "Text Reader v1.41"
#define ABOUT "Idea: Leency, punk_joker
Code: Leency, Veliant, KolibriOS Team
Hotkeys:
Ctrl+O - open file
Ctrl+I - show file properties
Ctrl+Up - bigger font
Ctrl+Down - smaller font
Ctrl+Tab - select charset
Ctrl+E - reopen current file in another app
Search:
Ctrl+F - open search
F3 - search next
Esc - hide search bar
Press any key..."
char color_scheme_names[] =
"Black & White
Black & Grey |RtfRead
Black & Linen |Horst
Black & Antique |Pocket
Black & Lemon |Fb2Read
Grey & DarkGrey |Godot
Grey & DarkGrey |Monokai";
#endif
//===================================================//
// //
// DATA //
// //
//===================================================//
dword color_schemes[] = {
0xFFFfff, 0,
0xF0F0F0, 0,
0xFDF6E3, 0x101A21,
0xFCF0DA, 0x171501,
0xF0F0C7, 0,
0x282C34, 0xABB2BF,
0x282923, 0xD8D8D2
};
char default_dir[] = "/rd/1";
od_filter filter2 = { 8, "TXT\0\0" };