Freeciv-3.2
Loading...
Searching...
No Matches
Functions | Variables
theme_dlg.c File Reference
#include <gtk/gtk.h>
#include "fcintl.h"
#include "dialogs_g.h"
#include "options.h"
#include "gui_main.h"

Go to the source code of this file.

Functions

static void theme_suggestion_callback (GtkWidget *dlg, gint arg)
 
bool popup_theme_suggestion_dialog (const char *theme_name)
 

Variables

static bool load_theme = FALSE
 

Function Documentation

◆ popup_theme_suggestion_dialog()

bool popup_theme_suggestion_dialog ( const char theme_name)

Popup dialog asking if tileset suggested theme should be used.

Definition at line 46 of file theme_dlg.c.

Referenced by tileset_use_preferred_theme().

◆ theme_suggestion_callback()

static void theme_suggestion_callback ( GtkWidget dlg,
gint  arg 
)
static

Callback deciding if the theme may be loaded or not

Definition at line 37 of file theme_dlg.c.

Referenced by popup_theme_suggestion_dialog().

Variable Documentation

◆ load_theme

bool load_theme = FALSE
static