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]
language=en
font file=/sys/Fonts/Tahoma.kf
font smoothing=sbp
font height=9
speaker mute=on

View File

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

View File

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

View File

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

View File

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

View File

@ -109,7 +109,7 @@ char *fd_path_eolite_ini_path;
#include "include\about.h"
#include "include\properties.h"
char TMPS[4096];
//char *TMP_PARS,*TMP_PARS2;
void main()
{
@ -159,7 +159,8 @@ void main()
strcpy(#inactive_path, #path);
llist_copy(#files_inactive, #files);
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);
loop(){
switch(WaitEvent())