Logo Search packages:      
Sourcecode: teg version File versions  Download package

interface.c File Reference


Detailed Description

Maneja las ventanas que se crean, salvo algunas

Definition in file interface.c.

#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <string.h>
#include <gnome.h>
#include "gui.h"
#include "client.h"
#include "chatline.h"
#include "callbacks.h"
#include "interface.h"
#include "support.h"
#include "g_country.h"
#include "g_cont.h"
#include "stock.h"
#include "status.h"
#include "armies.h"
#include "dices.h"
#include "themes.h"
#include "fonts.h"
#include "robot.xpm"
#include "../teg_pix/teg_icono.xpm"

Go to the source code of this file.

Classes

struct  _SensiData

Enumerations

enum  {
  ON_CONNECT, ON_DISCONNECT, ON_GAME_SEPARATOR_1, ON_LAUNCHROBOT,
  ON_GAME_SEPARATOR_2, ON_SCORES, ON_GAME_SEPARATOR_3, ON_EXIT
}
enum  {
  ON_START, ON_FICHAS, ON_UPDATEMAP, ON_ATTACK_RE,
  ON_ATTACK_RESET, ON_REGROUP, ON_GETCARD, ON_ENDTURN,
  ON_ACTIONS_SEPARATOR, ON_SURRENDER
}
enum  { ON_STATUS, ON_MISSION, ON_CARDS }

Functions

static TEG_STATUS canvas_create_countries (GnomeCanvasGroup *group)
static TEG_STATUS canvas_create_map (void)
static void canvas_map_zoom_1 (GtkWidget *widget, gpointer data)
static void canvas_map_zoom_in (GtkWidget *widget, gpointer data)
static void canvas_map_zoom_out (GtkWidget *widget, gpointer data)
GtkWidget * create_mainwin (void)
static void reagrupe_ok_cb (GtkWidget *window)
void reagrupe_window (int src, int dst, int cant)
TEG_STATUS set_sensitive_tb (void)
static void tropas_close_cb (GtkWidget *window)
static void tropas_ok_cb (GtkWidget *window)
void tropas_window (int src, int dst, int cant)

Variables

static GnomeUIInfo actions_menu_uiinfo []
GtkWidget * canvas_map = NULL
double canvas_map_zoom = 1.00
static GnomeUIInfo game_menu_uiinfo []
TTheme gui_theme
static GnomeUIInfo help_menu_uiinfo []
GtkTextView * main_message_area = NULL
GtkWidget * main_window = NULL
static GnomeUIInfo menubar_uiinfo []
static int reagrupe_cant = -1
static GtkWidget * reagrupe_dialog = NULL
static int reagrupe_dst = -1
static GtkWidget * reagrupe_hscale_cant = NULL
static int reagrupe_src = -1
struct _SensiData SensiData
static GnomeUIInfo settings_menu_uiinfo []
GtkWidget * statusbar = NULL
GnomeUIInfo toolbar_main []
static int tropas_cant
static GtkWidget * tropas_dialog = NULL
static int tropas_dst
static GtkWidget * tropas_hscale_cant = NULL
static int tropas_src
static GnomeUIInfo view_menu_uiinfo []
GtkWidget * window_mainstatus = NULL


Generated by  Doxygen 1.6.0   Back to index