Rev 8511 | Rev 8749 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 8511 | Rev 8584 | ||
---|---|---|---|
Line 6... | Line 6... | ||
6 | 6 | ||
Line 7... | Line 7... | ||
7 | char short_app_name[] = "Quark"; |
7 | char short_app_name[] = "Quark"; |
Line 8... | Line 8... | ||
8 | 8 | ||
9 | #ifdef LANG_RUS |
9 | #ifdef LANG_RUS |
Line 10... | Line 10... | ||
10 | 10 | ||
- | 11 | char intro[] = "â® ¯à®á⮩ ¯à®á¬®âà騪 ¨ । ªâ®à ⥪áâ . |
|
Line 11... | Line 12... | ||
11 | char intro[] = "â® ¯à®á⮩ ¯à®á¬®âà騪 ⥪áâ . |
12 | ®¯à®¡ã©â¥ ®âªàëâì ⥪áâ®¢ë© ä ©«."; |
12 | ®¯à®¡ã©â¥ ®âªàëâì ⥪áâ®¢ë© ä ©«."; |
13 | |
13 | 14 | char copied_chars[] = "%i ᨬ¢®«®¢ ᪮¯¨à®¢ ®"; |
|
Line 14... | Line 15... | ||
14 | char copied_chars[] = "ª®¯¨à®¢ ® ᨢ®«®¢: %i"; |
15 | char chars_selected[] = "%i ᨬ¢®«®¢ ¢ë¤¥«¥®"; |
15 | 16 | ||
Line 45... | Line 46... | ||
45 | ?define T_MATCHES " ©¤¥®: %i " |
46 | ?define T_MATCHES " ©¤¥®: %i " |
46 | ?define T_FIND_NEXT " ©â¨ ¤ «¥¥" |
47 | ?define T_FIND_NEXT " ©â¨ ¤ «¥¥" |
Line 47... | Line 48... | ||
47 | 48 | ||
Line 48... | Line 49... | ||
48 | #else |
49 | #else |
49 | 50 | ||
Line 50... | Line 51... | ||
50 | char intro[] = "Quark is a simple text viewer. |
51 | char intro[] = "Quark is a simple text viewer and editor. |
- | 52 | Try to open some text file."; |
|
Line 51... | Line 53... | ||
51 | Try to open some text file."; |
53 | |
52 | 54 | char copied_chars[] = "%i characters copied"; |
|
53 | char copied_chars[] = "Copied %i chars"; |
55 | char chars_selected[] = "%i characters selected"; |
Line 54... | Line 56... | ||
54 | 56 | ||
55 | char about[] = "Quark Text v0.91 |
57 | char about[] = "Quark Text v0.95 |
Line 102... | Line 104... | ||
102 | { |
104 | { |
103 | dword bg, text, cursor, found; |
105 | dword bg, text, cursor, found; |
104 | } theme; |
106 | } theme; |
Line 105... | Line 107... | ||
105 | 107 | ||
106 | char default_dir[] = "/rd/1"; |
108 | char default_dir[] = "/rd/1"; |
Line 107... | Line 109... | ||
107 | od_filter filter2 = { 33, "TXT\0ASM\0HTM\0HTML\0C\0H\0C--\0H--\0CPP\0\0" }; |
109 | od_filter filter2 = { 37, "TXT\0INI\0ASM\0HTM\0HTML\0C\0H\0C--\0H--\0CPP\0\0" }; |
Line 108... | Line 110... | ||
108 | 110 | ||
Line 109... | Line 111... | ||
109 | CANVAS canvas; |
111 | CANVAS canvas; |
Line -... | Line 112... | ||
- | 112 | ||
- | 113 | dword cursor_pos=0; |
|
110 | 114 | ||
111 | dword cursor_pos=0; |
115 | collection_int lines = {0}; |
112 | 116 | ||
113 | collection_int lines = {0}; |
117 | #define file_path param |
114 | 118 | ||
Line 121... | Line 125... | ||
121 | 125 | ||
Line 122... | Line 126... | ||
122 | _ini ini = { "/sys/settings/app.ini", "Quark" }; |
126 | _ini ini = { "/sys/settings/app.ini", "Quark" }; |
123 | 127 | ||
124 | void LoadIniSettings() |
128 | void LoadIniSettings() |
125 | { |
129 | { |
126 | font_size = ini.GetInt("FontSize", 'M'); |
130 | font_size = ini.GetInt("FontSize", 1); |
127 | user_encoding = ini.GetInt("Encoding", CH_AUTO); |
131 | user_encoding = ini.GetInt("Encoding", CH_AUTO); |
128 | curcol_scheme = ini.GetInt("ColorScheme", 0); |
132 | curcol_scheme = ini.GetInt("ColorScheme", 0); |
129 | Form.left = ini.GetInt("WinX", 150); |
133 | Form.left = ini.GetInt("WinX", 150); |