system.ini: new param. font file

eolite: load system.ini param. font file

git-svn-id: svn://kolibrios.org@5876 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
pavelyakov 2015-11-03 09:32:10 +00:00
parent 3ea6086e7f
commit 7fac0c11be
6 changed files with 8 additions and 2 deletions

View File

@ -1,5 +1,6 @@
[system] [system]
language=en language=en
font file=/sys/Fonts/Tahoma.kf
font smoothing=sbp font smoothing=sbp
font height=9 font height=9
speaker mute=on speaker mute=on

View File

@ -1,5 +1,6 @@
[system] [system]
language=et language=et
font file=/sys/Fonts/Tahoma.kf
font smoothing=sbp font smoothing=sbp
font height=9 font height=9
speaker mute=on speaker mute=on

View File

@ -1,5 +1,6 @@
[system] [system]
language=it language=it
font file=/sys/Fonts/Tahoma.kf
font smoothing=sbp font smoothing=sbp
font height=9 font height=9
speaker mute=on speaker mute=on

View File

@ -1,5 +1,6 @@
[system] [system]
language=ru language=ru
font file=/sys/Fonts/Tahoma.kf
font smoothing=sbp font smoothing=sbp
font height=9 font height=9
speaker mute=on speaker mute=on

View File

@ -1,5 +1,6 @@
[system] [system]
language=sp language=sp
font file=/sys/Fonts/Tahoma.kf
font smoothing=sbp font smoothing=sbp
font height=9 font height=9
speaker mute=on speaker mute=on

View File

@ -109,7 +109,7 @@ char *fd_path_eolite_ini_path;
#include "include\about.h" #include "include\about.h"
#include "include\properties.h" #include "include\properties.h"
char TMPS[4096];
//char *TMP_PARS,*TMP_PARS2; //char *TMP_PARS,*TMP_PARS2;
void main() void main()
{ {
@ -159,7 +159,8 @@ void main()
strcpy(#inactive_path, #path); strcpy(#inactive_path, #path);
llist_copy(#files_inactive, #files); llist_copy(#files_inactive, #files);
font.no_bg_copy = true; font.no_bg_copy = true;
font.load("/sys/fonts/tahoma.kf"); ini_get_str stdcall ("/sys/SETTINGS/SYSTEM.INI", "system", "font file",#TMPS,4096,"/sys/FONTS/Tahoma.kf");
font.load(#TMPS);
SetEventMask(1100111b); SetEventMask(1100111b);
loop(){ loop(){
switch(WaitEvent()) switch(WaitEvent())