Freeciv-3.2
Loading...
Searching...
No Matches
Macros | Functions | Variables
messagedlg.c File Reference
#include <gtk/gtk.h>
#include "fcintl.h"
#include "events.h"
#include "options.h"
#include "colors.h"
#include "gui_main.h"
#include "gui_stuff.h"
#include "messagedlg.h"

Go to the source code of this file.

Macros

#define NUM_LISTS   1
 

Functions

static void create_messageopt_dialog (void)
 
static void messageopt_response (struct gui_dialog *dlg, int response, gpointer data)
 
static void item_toggled (GtkCellRendererToggle *cell, gchar *spath, gpointer data)
 
void popup_messageopt_dialog (void)
 

Variables

static struct gui_dialogshell
 
static GtkListStoremodels [NUM_LISTS]
 

Macro Definition Documentation

◆ NUM_LISTS

#define NUM_LISTS   1

Definition at line 36 of file messagedlg.c.

Function Documentation

◆ create_messageopt_dialog()

static void create_messageopt_dialog ( void  )
static

Create messageoptions dialog

Definition at line 63 of file messagedlg.c.

Referenced by popup_messageopt_dialog().

◆ item_toggled()

static void item_toggled ( GtkCellRendererToggle cell,
gchar spath,
gpointer  data 
)
static

User toggled item

Definition at line 206 of file messagedlg.c.

Referenced by create_messageopt_dialog().

◆ messageopt_response()

static void messageopt_response ( struct gui_dialog dlg,
int  response,
gpointer  data 
)
static

Use responded to messageoptions dialog

Definition at line 174 of file messagedlg.c.

Referenced by create_messageopt_dialog().

◆ popup_messageopt_dialog()

void popup_messageopt_dialog ( void  )

Open messageoptions dialog

Definition at line 51 of file messagedlg.c.

Referenced by message_options_callback(), message_options_callback(), and mr_menu::messages_options().

Variable Documentation

◆ models

GtkListStore* models[NUM_LISTS]
static

Definition at line 40 of file messagedlg.c.

Referenced by create_messageopt_dialog(), and messageopt_response().

◆ shell

struct gui_dialog* shell
static