Patch level : 2.1 nopatch

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :

Trasformato CONFIG_USER in CONFIG_GUI per gestione dimensioni finestre


git-svn-id: svn://10.65.10.50/trunk@11972 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
guy 2004-04-14 14:23:35 +00:00
parent e957ff5b78
commit ce594e91ff

@ -381,7 +381,7 @@ void set_xvt_hooks()
xvt_vobj_set_attr(NULL_WIN,ATTR_WIN_PM_DRAWABLE_TWIN, TRUE);
long twin_style = WSF_ICONIZABLE | WSF_CLOSE | WSF_SIZE;
TConfig cfg(CONFIG_USER, "Colors");
TConfig cfg(CONFIG_GUI, "Colors");
const int res = cfg.get_int("Resolution");
const int scx = xvt_vobj_get_attr(NULL_WIN, ATTR_SCREEN_WIDTH);
const int scy = xvt_vobj_get_attr(NULL_WIN, ATTR_SCREEN_HEIGHT);