virtual void apply();
/// Build the dialog.
virtual void build();
- /// Hide the dialog.
- virtual void hide();
/// Update dialog before/whilst showing it.
virtual void update();
/// Filter the inputs on callback from xforms
virtual ButtonPolicy::SMInput input(FL_OBJECT *, long);
- /// The maximum digits for the image width (cm, inch, percent)
- enum {
- ///
- WIDTH_MAXDIGITS = 3
- };
- /// The maximum digits for the image height (cm, inch, percent)
- enum {
- ///
- HEIGHT_MAXDIGITS = 3
- };
- /// The maximum characters in the rotation angle (minus sign and 3 digits)
- enum {
- ///
- ROTATE_MAXCHARS = 4
- };
- /// The maximum characters in a filename.
- enum {
- ///
- FILENAME_MAXCHARS = 1024
- };
- ///
- enum State {
- ///
- CHECKINPUT,
- ///
- BROWSE,
- ///
- ADVANCEDINPUT
- };
-
/// Verify that the input is correct. If not disable ok/apply buttons.
ButtonPolicy::SMInput checkInput();
/// Fdesign generated method
FD_form_graphics * build_graphics();
-
- /// The radio buttons groups
- RadioButtonGroup widthButtons;
- ///
- RadioButtonGroup heightButtons;
- ///
- RadioButtonGroup displayButtons;
- /// Last used figure path
- string last_image_path;
};