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:
parent
3ea6086e7f
commit
7fac0c11be
@ -1,5 +1,6 @@
|
||||
[system]
|
||||
language=en
|
||||
font file=/sys/Fonts/Tahoma.kf
|
||||
font smoothing=sbp
|
||||
font height=9
|
||||
speaker mute=on
|
||||
|
@ -1,5 +1,6 @@
|
||||
[system]
|
||||
language=et
|
||||
font file=/sys/Fonts/Tahoma.kf
|
||||
font smoothing=sbp
|
||||
font height=9
|
||||
speaker mute=on
|
||||
|
@ -1,5 +1,6 @@
|
||||
[system]
|
||||
language=it
|
||||
font file=/sys/Fonts/Tahoma.kf
|
||||
font smoothing=sbp
|
||||
font height=9
|
||||
speaker mute=on
|
||||
|
@ -1,5 +1,6 @@
|
||||
[system]
|
||||
language=ru
|
||||
font file=/sys/Fonts/Tahoma.kf
|
||||
font smoothing=sbp
|
||||
font height=9
|
||||
speaker mute=on
|
||||
|
@ -1,5 +1,6 @@
|
||||
[system]
|
||||
language=sp
|
||||
font file=/sys/Fonts/Tahoma.kf
|
||||
font smoothing=sbp
|
||||
font height=9
|
||||
speaker mute=on
|
||||
|
@ -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())
|
||||
|
Loading…
Reference in New Issue
Block a user