Game configuration box for Windows, by constructing the dialog box

right from scratch without the slightest reference to any dialog
templates (meaning that we get to figure out the layout and _then_
choose the window size). I'm rather pleased with that. Also
introduced free_cfg(), which is why this checkin touched gtk.c as
well.

[originally from svn r4184]
This commit is contained in:
Simon Tatham
2004-05-03 07:52:33 +00:00
parent ee17149822
commit e8f6124996
4 changed files with 393 additions and 43 deletions

4
gtk.c
View File

@ -613,9 +613,7 @@ static int get_config(frontend *fe)
gtk_widget_show(fe->cfgbox);
gtk_main();
/*
* FIXME: free fe->cfg
*/
free_cfg(fe->cfg);
return fe->cfgret;
}