last update 20 Sep 2009 |
#include <cvrViewer2DGtk.h>
Public Member Functions | |
gtkCurveSelection () | |
virtual | ~gtkCurveSelection () |
void | show () |
void | hide () |
void | destroy () |
void | use (vector< ubyte > &data) |
Protected Member Functions | |
void | build () |
void | transferFromCurve (GtkCurve *curve) |
void | transferFromVector (GtkCurve *curve) |
Static Protected Member Functions | |
static gint | cbCloseWindow (GtkWidget *widget, GdkEvent *event, gpointer data) |
static void | cbOnCancelButtonClicked (GtkButton *button, gpointer data) |
static void | cbOnOkButtonClicked (GtkButton *button, gpointer data) |
cvr::gtkCurveSelection::gtkCurveSelection | ( | ) |
Create the dialog.
virtual cvr::gtkCurveSelection::~gtkCurveSelection | ( | ) | [virtual] |
Destructor.
void cvr::gtkCurveSelection::build | ( | ) | [protected] |
Construct the GTK widgets.
static gint cvr::gtkCurveSelection::cbCloseWindow | ( | GtkWidget * | widget, | |
GdkEvent * | event, | |||
gpointer | data | |||
) | [static, protected] |
Callback function called when the user selects the "close window" button of the window.
This method overrides the delete structure with a hide().
static void cvr::gtkCurveSelection::cbOnCancelButtonClicked | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static, protected] |
Callback function called when the user has pressed the cancel button.
static void cvr::gtkCurveSelection::cbOnOkButtonClicked | ( | GtkButton * | button, | |
gpointer | data | |||
) | [static, protected] |
Callback function called when the user has pressed the cancel button.
void cvr::gtkCurveSelection::destroy | ( | ) |
Destroy the dialog.
void cvr::gtkCurveSelection::hide | ( | ) |
Hide the dialog.
void cvr::gtkCurveSelection::show | ( | ) |
Show the dialog.
void cvr::gtkCurveSelection::transferFromCurve | ( | GtkCurve * | curve | ) | [protected] |
Transfer information from the curve to the holder vector.
void cvr::gtkCurveSelection::transferFromVector | ( | GtkCurve * | curve | ) | [protected] |
Transfer information from the holder vector to the curve.