mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-21 08:01:30 -07:00
New feature in midend.c which allows us to ask for the number of the
currently selected preset, if any. I've used this in the GTK front end to have the Type menu mark the currently selected menu item. (After considerable beating of GTK with sticks, I might add. Grr.) Currently the same UI feature is not yet supported on Windows or MacOS, but I hope to do those too at some point if it's feasible. [originally from svn r7980]
This commit is contained in:
@ -235,6 +235,7 @@ void midend_timer(midend *me, float tplus);
|
||||
int midend_num_presets(midend *me);
|
||||
void midend_fetch_preset(midend *me, int n,
|
||||
char **name, game_params **params);
|
||||
int midend_which_preset(midend *me);
|
||||
int midend_wants_statusbar(midend *me);
|
||||
enum { CFG_SETTINGS, CFG_SEED, CFG_DESC, CFG_FRONTEND_SPECIFIC };
|
||||
config_item *midend_get_config(midend *me, int which, char **wintitle);
|
||||
|
Reference in New Issue
Block a user