Combo_editor Class Reference

#include <combo.h>

Inheritance diagram for Combo_editor:

Inheritance graph
[legend]
Collaboration diagram for Combo_editor:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Combo_editor (Shapes_vga_file *svga, unsigned char *palbuf)
 ~Combo_editor ()
void show (bool tf)
void render (GdkRectangle *area=0)
void set_controls ()
gint mouse_press (GdkEventButton *event)
void set_order ()
void set_position ()
void add (unsigned char *data, int datalen)
void remove ()
void save ()
bool is_visible ()

Private Member Functions

void set_combo (Combo *newcombo, int findex)

Private Attributes

GtkWidget * win
Combocombo
int selected
bool setting_controls
int file_index

Friends

class Combo_chooser

Detailed Description

Definition at line 92 of file combo.h.


Constructor & Destructor Documentation

Combo_editor::Combo_editor ( Shapes_vga_file svga,
unsigned char *  palbuf 
)

Definition at line 556 of file combo.cc.

References ExultStudio::get_instance(), and ExultStudio::get_xml().

Here is the call graph for this function:

Combo_editor::~Combo_editor (  ) 

Definition at line 583 of file combo.cc.


Member Function Documentation

void Combo_editor::set_combo ( Combo newcombo,
int  findex 
) [private]

Definition at line 536 of file combo.cc.

References ExultStudio::get_instance(), and ExultStudio::set_entry().

Referenced by Combo_chooser::edit().

Here is the call graph for this function:

void Combo_editor::show ( bool  tf  ) 

Definition at line 594 of file combo.cc.

void Combo_editor::render ( GdkRectangle *  area = 0  ) 

Definition at line 609 of file combo.cc.

References Shape_draw::configure(), and Shape_draw::show().

Referenced by on_combo_draw_expose_event().

Here is the call graph for this function:

void Combo_editor::set_controls (  ) 

Definition at line 636 of file combo.cc.

References c_tilesize, ExultStudio::get_instance(), ExultStudio::set_sensitive(), ExultStudio::set_spin(), Combo_member::tx, Combo_member::ty, and Combo_member::tz.

Here is the call graph for this function:

gint Combo_editor::mouse_press ( GdkEventButton *  event  ) 

Definition at line 675 of file combo.cc.

Referenced by on_combo_draw_button_press_event().

void Combo_editor::set_order (  ) 

Definition at line 694 of file combo.cc.

References ExultStudio::get_instance(), and ExultStudio::get_spin().

Referenced by on_combo_order_changed().

Here is the call graph for this function:

void Combo_editor::set_position (  ) 

Definition at line 719 of file combo.cc.

References ExultStudio::get_instance(), ExultStudio::get_spin(), Combo_member::tx, Combo_member::ty, and Combo_member::tz.

Referenced by on_combo_locx_changed(), on_combo_locy_changed(), and on_combo_locz_changed().

Here is the call graph for this function:

void Combo_editor::add ( unsigned char *  data,
int  datalen 
)

Definition at line 748 of file combo.cc.

References Ucscript::frame, and Object_in().

Here is the call graph for this function:

void Combo_editor::remove (  ) 

Definition at line 772 of file combo.cc.

Referenced by on_combo_remove_clicked().

void Combo_editor::save (  ) 

Definition at line 789 of file combo.cc.

References Combo_chooser::add(), EStudio::Alert(), Shape_file_set::create(), ExultStudio::get_browser(), ExultStudio::get_files(), ExultStudio::get_instance(), ExultStudio::get_text_entry(), len, Flex_file_info::set(), Shape_file_info::set_modified(), and Flex_file_info::size().

Referenced by on_combo_apply_clicked(), and on_combo_ok_clicked().

Here is the call graph for this function:

bool Combo_editor::is_visible (  )  [inline]

Definition at line 117 of file combo.h.

References win.

Referenced by Combo_chooser::edit(), Combo_chooser::move(), and Combo_chooser::remove().


Friends And Related Function Documentation

friend class Combo_chooser [friend]

Definition at line 103 of file combo.h.


Member Data Documentation

GtkWidget* Combo_editor::win [private]

Definition at line 94 of file combo.h.

Referenced by is_visible().

Combo* Combo_editor::combo [private]

Definition at line 95 of file combo.h.

int Combo_editor::selected [private]

Definition at line 96 of file combo.h.

bool Combo_editor::setting_controls [private]

Definition at line 97 of file combo.h.

int Combo_editor::file_index [private]

Definition at line 98 of file combo.h.

Referenced by Combo_chooser::move(), and Combo_chooser::remove().


The documentation for this class was generated from the following files:
Generated on Mon Jul 9 14:49:14 2007 for ExultEngine by  doxygen 1.5.1