mirror of
https://github.com/KolibriOS/kolibrios.git
synced 2024-12-13 18:37:08 +03:00
f3d40e9f11
PanelsCfg: fix Docky icon Sysmon: fix tmpdisk size git-svn-id: svn://kolibrios.org@7532 a494cfbc-eb01-0410-851d-a64ba20cac60
20 lines
496 B
C
20 lines
496 B
C
#include "../lib/obj/libini.h"
|
|
|
|
_ini ini = { "/sys/settings/app.ini", "Notes" };
|
|
|
|
void LoadIniSettings()
|
|
{
|
|
load_dll(libini, #lib_init,1);
|
|
Form.left = ini.GetInt("WinX", 150);
|
|
Form.top = ini.GetInt("WinY", 50);
|
|
//Form.width = ini.GetInt("WinW", 640);
|
|
//Form.height = ini.GetInt("WinH", 560);
|
|
}
|
|
|
|
void SaveIniSettings()
|
|
{
|
|
ini.SetInt("WinX", Form.left);
|
|
ini.SetInt("WinY", Form.top);
|
|
//ini.SetInt("WinW", Form.width);
|
|
//ini.SetInt("WinH", Form.height);
|
|
} |