#include <ParticleBrowser.h>
Public Member Functions | |
GtkWidget * | getWidget () |
ParticleBrowser () | |
Static Public Member Functions | |
static ParticleBrowser & | getInstance () |
Private Member Functions | |
ParticleDefinition * | getSelectedParticle () |
Static Private Member Functions | |
static gboolean | _onExpose (GtkWidget *, GdkEventExpose *, ParticleBrowser *) |
static bool | _onRightClick (GtkWidget *, GdkEventButton *, ParticleBrowser *) |
static void | _onSelectionChanged (GtkWidget *, ParticleBrowser *) |
Private Attributes | |
GtkWidget * | _widget |
GtkTreeStore * | _treeStore |
GtkWidget * | _treeView |
GtkTreeSelection * | _selection |
TexturePreviewCombo | _imagePreview |
ModelPreview | _modelPreview |
Definition at line 31 of file ParticleBrowser.h.
ui::ParticleBrowser::ParticleBrowser | ( | ) |
Constructor creates GTK widgets.
static gboolean ui::ParticleBrowser::_onExpose | ( | GtkWidget * | , | |
GdkEventExpose * | , | |||
ParticleBrowser * | ||||
) | [static, private] |
static bool ui::ParticleBrowser::_onRightClick | ( | GtkWidget * | , | |
GdkEventButton * | , | |||
ParticleBrowser * | ||||
) | [static, private] |
static void ui::ParticleBrowser::_onSelectionChanged | ( | GtkWidget * | , | |
ParticleBrowser * | ||||
) | [static, private] |
static ParticleBrowser& ui::ParticleBrowser::getInstance | ( | ) | [inline, static] |
Return the singleton instance.
Definition at line 60 of file ParticleBrowser.h.
ParticleDefinition* ui::ParticleBrowser::getSelectedParticle | ( | ) | [private] |
GtkWidget* ui::ParticleBrowser::getWidget | ( | ) | [inline] |
Return the main widget for packing into the groupdialog or other parent container.
Definition at line 68 of file ParticleBrowser.h.
Definition at line 40 of file ParticleBrowser.h.
Definition at line 42 of file ParticleBrowser.h.
GtkTreeSelection* ui::ParticleBrowser::_selection [private] |
Definition at line 37 of file ParticleBrowser.h.
GtkTreeStore* ui::ParticleBrowser::_treeStore [private] |
Definition at line 35 of file ParticleBrowser.h.
GtkWidget* ui::ParticleBrowser::_treeView [private] |
Definition at line 36 of file ParticleBrowser.h.
GtkWidget* ui::ParticleBrowser::_widget [private] |
Definition at line 32 of file ParticleBrowser.h.