Rev 7266 | Rev 7352 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 7266 | Rev 7278 | ||
---|---|---|---|
Line 29... | Line 29... | ||
29 | ?define EDIT_FILE_ASSOCIATIONS "Edit file associations" |
29 | ?define EDIT_FILE_ASSOCIATIONS "Edit file associations" |
30 | ?define START_PATH " Start path: " |
30 | ?define START_PATH " Start path: " |
31 | #endif |
31 | #endif |
32 | 32 | ||
Line 33... | Line -... | ||
33 | int WinX, WinY, WinW, WinH; |
- | |
34 | - | ||
35 | char path_start[4096]; |
33 | char path_start[4096]; |
36 | edit_box path_start_ed = {290,50,57,0xffffff,0x94AECE,0xffffff,0xffffff,0x10000000,4098, |
34 | edit_box path_start_ed = {290,50,57,0xffffff,0x94AECE,0xffffff,0xffffff,0x10000000,4098, |
37 | #path_start,0, 100000000000010b,0,0}; |
35 | #path_start,0, 100000000000010b,0,0}; |
Line 38... | Line 36... | ||
38 | 36 | ||
Line 162... | Line 160... | ||
162 | info_after_copy.checked = ini.GetInt("InfoAfterCopy", false); |
160 | info_after_copy.checked = ini.GetInt("InfoAfterCopy", false); |
163 | two_panels.checked = ini.GetInt("TwoPanels", false); |
161 | two_panels.checked = ini.GetInt("TwoPanels", false); |
164 | kfont.size.pt = ini.GetInt("FontSize", 13); |
162 | kfont.size.pt = ini.GetInt("FontSize", 13); |
165 | files.item_h = ini.GetInt("LineHeight", 19); |
163 | files.item_h = ini.GetInt("LineHeight", 19); |
166 | WinX = ini.GetInt("WinX", 200); |
164 | Form.left = ini.GetInt("WinX", 200); |
167 | WinY = ini.GetInt("WinY", 50); |
165 | Form.top = ini.GetInt("WinY", 50); |
168 | WinW = ini.GetInt("WinW", 550); |
166 | Form.width = ini.GetInt("WinW", 550); |
169 | WinH = ini.GetInt("WinH", 506); |
167 | Form.height = ini.GetInt("WinH", 506); |
170 | ini.GetString("DefaultPath", #path, 4096, "/rd/1"); |
168 | ini.GetString("DefaultPath", #path, 4096, "/rd/1"); |
171 | ini.GetString("DefaultPath", #path_start, 4096, "/rd/1"); |
169 | ini.GetString("DefaultPath", #path_start, 4096, "/rd/1"); |
172 | path_start_ed.size = path_start_ed.pos = strlen(#path_start); |
170 | path_start_ed.size = path_start_ed.pos = strlen(#path_start); |
173 | 171 | ||
Line 174... | Line 172... | ||
174 | ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font file",#temp,4096,DEFAULT_FONT); |
172 | ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font file",#temp,4096,DEFAULT_FONT); |