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

data_screen Class Reference

#include <data_screen.h>

Inheritance diagram for data_screen:

win_base win_base drawing_area drawing_area drawing_area drawing_area

List of all members.


Detailed Description

The gui for loading/saving games.

Definition at line 48 of file data_screen.h.


Public Member Functions

virtual void add (win_base *)
virtual void add (win_base *)
u_int8 align () const
u_int8 align () const
void assign_drawing_area (const drawing_area *da)
drawing_areaassigned_drawing_area () const
 data_screen (int m)
virtual void destroy ()
virtual void destroy ()
void detach_drawing_area ()
void draw (drawing_area *da=NULL)
void draw (drawing_area *da)
virtual bool draw ()
virtual bool draw ()
win_basefocus_object ()
win_basefocus_object ()
bool get_result ()
u_int16 height () const
u_int16 height_border ()
u_int16 height_border ()
virtual bool input_update ()
virtual bool input_update ()
bool is_activate () const
bool is_activate () const
bool is_brightness () const
bool is_brightness () const
bool is_can_be_selected () const
bool is_can_be_selected () const
bool is_focus () const
bool is_focus () const
bool is_trans () const
bool is_trans () const
bool is_visible () const
bool is_visible () const
u_int16 length () const
u_int16 length_border ()
u_int16 length_border ()
void load (char *)
void load (char *, char *)
void load (char *, char *)
void move (s_int16, s_int16)
void move (s_int16, s_int16)
s_int16 & pad_x ()
s_int16 & pad_x ()
s_int16 & pad_y ()
s_int16 & pad_y ()
void py_signal_connect (PyObject *pyfunc, int signal, PyObject *args=NULL)
void py_signal_connect (PyObject *pyfunc, int signal, PyObject *args=NULL)
s_int16 real_x () const
s_int16 real_x () const
s_int16 real_y () const
s_int16 real_y () const
virtual void remove (win_base *)
virtual void remove (win_base *)
virtual void remove_all ()
virtual void remove_all ()
void resize (u_int16, u_int16)
void resize (u_int16, u_int16)
void set_activate (const bool b)
void set_activate (const bool b)
void set_align (const u_int8 a)
void set_align (const u_int8 a)
void set_background (win_theme &)
void set_background (win_theme &wt)
void set_background (win_background &)
void set_border (win_theme &wth, u_int8 size=win_border::NORMAL)
void set_border (win_theme &wth, u_int8 size=win_border::NORMAL)
void set_border (win_border &)
virtual void set_brightness (bool b)
virtual void set_brightness (bool b)
void set_brightness_background (bool b)
void set_brightness_background (bool b)
void set_brightness_border (bool b)
void set_brightness_border (bool b)
void set_callback_destroy (const Functor0wRet< bool > &func)
void set_callback_quit (const Functor1< int > &func)
void set_can_be_selected (const bool b)
void set_can_be_selected (const bool b)
void set_focus (const bool b)
void set_focus (const bool b)
void set_focus_object (win_base *f)
void set_focus_object (win_base *f)
void set_layout (u_int8 l)
void set_layout (u_int8 l)
void set_manager (win_manager *)
void set_return_code (int rc)
void set_return_code (int rc)
void set_signal_connect (const Functor0 &func, u_int8 signal)
virtual void set_space_with_border (u_int16 b)
virtual void set_space_with_border (u_int16 b)
virtual void set_space_with_object (u_int16 o)
virtual void set_space_with_object (u_int16 o)
virtual void set_trans (bool b)
virtual void set_trans (bool b)
void set_trans_background (bool b)
void set_trans_background (bool b)
void set_trans_border (bool b)
void set_trans_border (bool b)
void set_visible (const bool b)
void set_visible (const bool b)
void set_visible_all (bool b)
void set_visible_all (bool b)
void set_visible_background (bool b)
void set_visible_background (bool b)
void set_visible_border (bool b)
void set_visible_border (bool b)
SDL_Rect setup_rects () const
u_int16 space_with_border ()
u_int16 space_with_border ()
u_int16 space_with_object ()
u_int16 space_with_object ()
bool update ()
s_int16 x () const
s_int16 x () const
s_int16 y () const
s_int16 y () const
 ~data_screen ()

Static Public Attributes

static const u_int8 ACTIVATE = 1
static const u_int8 ACTIVATE_KEY = 6
static const u_int8 ALIGN_CENTER = 2
static const u_int8 ALIGN_LEFT = 1
static const u_int8 ALIGN_NONE = 0
static const u_int8 ALIGN_RIGHT = 3
static const u_int8 CLOSE = 14
static const u_int8 DESTROY = 15
static const u_int8 DRAW = 4
static const u_int8 DRAW_ON_VISIBLE = 5
static const u_int8 KEYBOARD = 9
static const u_int8 LIST_LAYOUT = 1
static const u_int8 MINI = 0
static const u_int8 NEXT = 12
static const u_int8 NO_LAYOUT = 0
static const u_int8 NORMAL = 1
static const u_int8 PREVIOUS = 13
static const u_int8 SCROLL_DOWN = 11
static const u_int8 SCROLL_UP = 10
static const u_int8 SELECT = 7
static const u_int8 SPACE_WITH_BORDER = 10
static const u_int8 SPACE_WITH_OBJECT = 10
static const u_int8 UNACTIVATE = 2
static const u_int8 UNSELECT = 8
static const u_int8 UPDATE = 3

Protected Member Functions

virtual void on_activate ()
virtual void on_activate ()
virtual void on_activate_key ()
virtual void on_activate_key ()
virtual void on_down ()
virtual void on_down ()
virtual void on_draw ()
virtual void on_draw ()
virtual void on_draw_visible ()
virtual void on_draw_visible ()
virtual void on_next ()
virtual void on_next ()
virtual void on_previous ()
virtual void on_previous ()
virtual void on_unactivate ()
virtual void on_unactivate ()
virtual void on_unselect ()
virtual void on_unselect ()
virtual void on_up ()
virtual void on_up ()
virtual void on_update ()
virtual void on_update ()
void set_container (win_container *wc)
void set_container (win_container *wc)
void update_align ()
void update_align ()
void update_layout ()
void update_layout ()
void update_position ()
void update_position ()

Protected Attributes

bool activate_
u_int8 align_
bool brightness_
Functor0 callback_ [20]
Functor0wRet< bool > callback_destroy_
Functor1< int > callback_quit_
bool can_be_selected_
bool focus_
win_basefocus_object_
u_int8 layout_
lwb list_wb_
win_managermanager_
s_int16 pad_x_
s_int16 pad_y_
vector< py_callback * > py_callbacks
int return_code_
u_int16 space_with_border_
u_int16 space_with_object_
bool trans_
bool visible_
win_container * wb_father_
s_int16 x_
s_int16 y_

Private Member Functions

void init ()
void on_save ()
void on_select ()
void save_preview (string)

Private Attributes

bool aborted
win_write * entry
vector< win_write * > entry_list
win_font * font
char gametime [20]
win_select * image_list
int mode
win_theme * theme

Friends

class win_container
class win_scroll
class win_select

The documentation for this class was generated from the following files:

Generated by  Doxygen 1.6.0   Back to index