VideoOptions_gump.cc File Reference

#include <iostream>
#include <string>
#include <cstring>
#include "SDL_events.h"
#include "Configuration.h"
#include "Gump_button.h"
#include "Gump_ToggleButton.h"
#include "VideoOptions_gump.h"
#include "exult.h"
#include "exult_flx.h"
#include "gamewin.h"
#include "gameclk.h"
#include "mouse.h"
#include "Text_button.h"
#include "palette.h"

Include dependency graph for VideoOptions_gump.cc:

Go to the source code of this file.

Classes

class  VideoOptions_button
class  VideoTextToggle

Functions

static string resolutionstring (int w, int h)

Variables

static const int rowy [] = { 5, 20, 35, 50, 80 }
static const int colx [] = { 35, 50, 115, 127, 130 }
static const char * oktext = "OK"
static const char * canceltext = "CANCEL"
static int resolutions []
static int num_default_res = sizeof(resolutions)/(2*sizeof(resolutions[0])) -1


Function Documentation

static string resolutionstring ( int  w,
int  h 
) [static]

Definition at line 62 of file VideoOptions_gump.cc.

Referenced by VideoOptions_gump::load_settings().


Variable Documentation

const char* canceltext = "CANCEL" [static]

Definition at line 49 of file VideoOptions_gump.cc.

const int colx[] = { 35, 50, 115, 127, 130 } [static]

Definition at line 46 of file VideoOptions_gump.cc.

int num_default_res = sizeof(resolutions)/(2*sizeof(resolutions[0])) -1 [static]

Definition at line 60 of file VideoOptions_gump.cc.

Referenced by VideoOptions_gump::load_settings().

const char* oktext = "OK" [static]

Definition at line 48 of file VideoOptions_gump.cc.

int resolutions[] [static]

Initial value:

 { 320, 200,
               320, 240,
               400, 300,
               512, 384,
               640, 480,
               800, 600,
               -1, -1 }

Definition at line 51 of file VideoOptions_gump.cc.

const int rowy[] = { 5, 20, 35, 50, 80 } [static]

Definition at line 45 of file VideoOptions_gump.cc.


Generated on Mon Jul 9 14:43:59 2007 for ExultEngine by  doxygen 1.5.1