#include <ap_UnixDialog_Border_Shading.h>
enum AP_UnixDialog_Border_Shading::ResponseId [protected] |
AP_UnixDialog_Border_Shading::AP_UnixDialog_Border_Shading | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
References m_iBorderStyleConnect, m_iBorderThicknessConnect, m_iLineBotConnect, m_iLineLeftConnect, m_iLineRightConnect, m_iLineTopConnect, m_iShadingEnableConnect, m_iShadingOffsetConnect, m_pPreviewWidget, m_wApplyButton, m_wBorderColorButton, m_wBorderStyle, m_wBorderThickness, m_windowMain, m_wLineBottom, m_wLineLeft, m_wLineRight, m_wLineTop, m_wPreviewArea, m_wShadingEnable, and m_wShadingOffset.
Referenced by static_constructor().
AP_UnixDialog_Border_Shading::~AP_UnixDialog_Border_Shading | ( | void | ) | [virtual] |
References DELETEP, and m_pPreviewWidget.
void AP_UnixDialog_Border_Shading::_connectSignals | ( | void | ) | [protected] |
References m_iBorderStyleConnect, m_iBorderThicknessConnect, m_iLineBotConnect, m_iLineLeftConnect, m_iLineRightConnect, m_iLineTopConnect, m_iShadingEnableConnect, m_iShadingOffsetConnect, m_wApplyButton, m_wBorderColorButton, m_wBorderStyle, m_wBorderThickness, m_wCloseButton, m_windowMain, m_wLineBottom, m_wLineLeft, m_wLineRight, m_wLineTop, m_wPreviewArea, m_wShadingColorButton, m_wShadingEnable, m_wShadingOffset, s_apply_changes(), s_close_window(), s_delete_clicked(), s_destroy_clicked(), s_line_bottom(), s_line_left(), s_line_right(), s_line_top(), s_on_border_color_clicked(), s_on_border_style_clicked(), s_on_border_thickness_clicked(), s_on_shading_color_clicked(), s_on_shading_enable_clicked(), s_on_shading_offset_clicked(), and s_preview_draw().
Referenced by runModeless().
GtkWidget * AP_UnixDialog_Border_Shading::_constructWindow | ( | void | ) | [protected, virtual] |
References abiDialogSetTitle(), AP_Dialog_Border_Shading::ConstructWindowName(), AP_Dialog_Border_Shading::getBottomToggled(), AP_Dialog_Border_Shading::getLeftToggled(), AP_Dialog_Border_Shading::getRightToggled(), XAP_App::getStringSet(), AP_Dialog_Border_Shading::getTopToggled(), XAP_StringSet::getValueUTF8(), label_button_with_abi_pixmap(), localizeButton(), localizeLabel(), localizeLabelMarkup(), XAP_Dialog::m_pApp, m_wApplyButton, m_wBorderColorButton, m_wBorderStyle, m_wBorderThickness, m_wCloseButton, AP_Dialog_Border_Shading::m_WindowName, m_wLineBottom, m_wLineLeft, m_wLineRight, m_wLineTop, m_wPreviewArea, m_wShadingColorButton, m_wShadingColorLabel, m_wShadingEnable, m_wShadingOffset, m_wShadingOffsetLabel, newDialogBuilder(), s, UT_DEBUGMSG, XAP_appendComboBoxText(), XAP_makeGtkComboBoxText(), and xxx_UT_DEBUGMSG.
Referenced by runModeless().
void AP_UnixDialog_Border_Shading::_populateWindowData | ( | void | ) | [protected] |
References AP_Dialog_Border_Shading::setAllSensitivities().
Referenced by runModeless().
void AP_UnixDialog_Border_Shading::_setShadingEnable | ( | bool | enable | ) | [protected] |
References m_iShadingEnableConnect, m_wShadingColorButton, m_wShadingColorLabel, m_wShadingEnable, m_wShadingOffset, m_wShadingOffsetLabel, and xxx_UT_DEBUGMSG.
Referenced by event_shadingPatternChange(), and setShadingPatternInGUI().
void AP_UnixDialog_Border_Shading::activate | ( | void | ) | [virtual] |
void AP_UnixDialog_Border_Shading::destroy | ( | void | ) | [virtual] |
Implements XAP_Dialog_Modeless.
References AP_Dialog_Border_Shading::finalize(), and m_windowMain.
Referenced by event_Close().
void AP_UnixDialog_Border_Shading::event_BorderStyleChanged | ( | void | ) |
References BORDER_SHADING_NUMOFSTYLES, event_previewExposed(), m_wBorderStyle, sBorderStyle, and AP_Dialog_Border_Shading::setBorderStyle().
Referenced by s_on_border_style_clicked().
void AP_UnixDialog_Border_Shading::event_BorderThicknessChanged | ( | void | ) |
void AP_UnixDialog_Border_Shading::event_Close | ( | void | ) | [virtual] |
References destroy(), and AP_Dialog_Border_Shading::m_answer.
Referenced by s_close_window(), and s_destroy_clicked().
void AP_UnixDialog_Border_Shading::event_previewExposed | ( | void | ) |
References AP_Border_Shading_preview::draw(), and AP_Dialog_Border_Shading::m_pBorderShadingPreview.
Referenced by event_BorderStyleChanged(), event_BorderThicknessChanged(), event_ShadingOffsetChanged(), s_line_bottom(), s_line_left(), s_line_right(), s_line_top(), s_on_border_color_clicked(), s_on_shading_color_clicked(), and s_preview_draw().
void AP_UnixDialog_Border_Shading::event_ShadingOffsetChanged | ( | void | ) |
void AP_UnixDialog_Border_Shading::event_shadingPatternChange | ( | void | ) |
const GtkWidget* AP_UnixDialog_Border_Shading::getWindow | ( | void | ) | const [inline] |
References m_windowMain.
Referenced by s_on_border_color_clicked(), and s_on_shading_color_clicked().
void AP_UnixDialog_Border_Shading::notifyActiveFrame | ( | XAP_Frame * | pFrame | ) | [virtual] |
Reimplemented from XAP_Dialog_Modeless.
References AP_Dialog_Border_Shading::ConstructWindowName(), m_windowMain, AP_Dialog_Border_Shading::m_WindowName, AP_Dialog_Border_Shading::setAllSensitivities(), and UT_ASSERT.
void AP_UnixDialog_Border_Shading::runModeless | ( | XAP_Frame * | pFrame | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References _connectSignals(), _constructWindow(), AP_Dialog_Border_Shading::_createPreviewFromGC(), _populateWindowData(), abiSetupModelessDialog(), BUTTON_CLOSE, DELETEP, AP_Border_Shading_preview::draw(), XAP_App::getApp(), GR_UnixCairoGraphics::init3dColors(), AP_Dialog_Border_Shading::m_pBorderShadingPreview, m_pPreviewWidget, m_windowMain, m_wPreviewArea, XAP_App::newGraphics(), AP_Dialog_Border_Shading::startUpdater(), UT_DEBUGMSG, and UT_return_if_fail.
void AP_UnixDialog_Border_Shading::setBorderColorInGUI | ( | const UT_RGBColor & | clr | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References UT_RGBColor::m_blu, UT_RGBColor::m_grn, UT_RGBColor::m_red, m_wBorderColorButton, and xxx_UT_DEBUGMSG.
void AP_UnixDialog_Border_Shading::setBorderStyleInGUI | ( | const std::string & | sStyle | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References PP_PropertyMap::linestyle_type(), m_iBorderStyleConnect, m_wBorderStyle, style, and xxx_UT_DEBUGMSG.
void AP_UnixDialog_Border_Shading::setBorderThicknessInGUI | ( | const std::string & | sThick | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References AP_Dialog_Border_Shading::_findClosestThickness(), m_iBorderThicknessConnect, m_wBorderThickness, and xxx_UT_DEBUGMSG.
void AP_UnixDialog_Border_Shading::setSensitivity | ( | bool | bsens | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References AP_Dialog_Border_Shading::getBottomToggled(), AP_Dialog_Border_Shading::getLeftToggled(), AP_Dialog_Border_Shading::getRightToggled(), AP_Dialog_Border_Shading::getTopToggled(), m_wLineBottom, m_wLineLeft, m_wLineRight, m_wLineTop, m_wShadingColorButton, m_wShadingEnable, and m_wShadingOffset.
void AP_UnixDialog_Border_Shading::setShadingColorInGUI | ( | const UT_RGBColor & | clr | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References UT_RGBColor::m_blu, UT_RGBColor::m_grn, UT_RGBColor::m_red, m_wShadingColorButton, and xxx_UT_DEBUGMSG.
void AP_UnixDialog_Border_Shading::setShadingOffsetInGUI | ( | const std::string & | sOffset | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References AP_Dialog_Border_Shading::_findClosestOffset(), m_iShadingOffsetConnect, m_wShadingOffset, and xxx_UT_DEBUGMSG.
void AP_UnixDialog_Border_Shading::setShadingPatternInGUI | ( | const std::string & | sPattern | ) | [virtual] |
Implements AP_Dialog_Border_Shading.
References _setShadingEnable(), and xxx_UT_DEBUGMSG.
XAP_Dialog * AP_UnixDialog_Border_Shading::static_constructor | ( | XAP_DialogFactory * | pFactory, | |
XAP_Dialog_Id | id | |||
) | [static] |
References AP_UnixDialog_Border_Shading().
guint AP_UnixDialog_Border_Shading::m_iBorderStyleConnect [protected] |
Referenced by _connectSignals(), AP_UnixDialog_Border_Shading(), and setBorderStyleInGUI().
guint AP_UnixDialog_Border_Shading::m_iBorderThicknessConnect [protected] |
Referenced by _connectSignals(), AP_UnixDialog_Border_Shading(), and setBorderThicknessInGUI().
guint AP_UnixDialog_Border_Shading::m_iLineBotConnect [protected] |
Referenced by _connectSignals(), and AP_UnixDialog_Border_Shading().
guint AP_UnixDialog_Border_Shading::m_iLineLeftConnect [protected] |
Referenced by _connectSignals(), and AP_UnixDialog_Border_Shading().
guint AP_UnixDialog_Border_Shading::m_iLineRightConnect [protected] |
Referenced by _connectSignals(), and AP_UnixDialog_Border_Shading().
guint AP_UnixDialog_Border_Shading::m_iLineTopConnect [protected] |
Referenced by _connectSignals(), and AP_UnixDialog_Border_Shading().
guint AP_UnixDialog_Border_Shading::m_iShadingEnableConnect [protected] |
Referenced by _connectSignals(), _setShadingEnable(), and AP_UnixDialog_Border_Shading().
guint AP_UnixDialog_Border_Shading::m_iShadingOffsetConnect [protected] |
Referenced by _connectSignals(), AP_UnixDialog_Border_Shading(), and setShadingOffsetInGUI().
Referenced by AP_UnixDialog_Border_Shading(), runModeless(), and ~AP_UnixDialog_Border_Shading().
GtkWidget* AP_UnixDialog_Border_Shading::m_wApplyButton [protected] |
Referenced by _connectSignals(), _constructWindow(), and AP_UnixDialog_Border_Shading().
GtkWidget* AP_UnixDialog_Border_Shading::m_wBorderColorButton [protected] |
Referenced by _connectSignals(), _constructWindow(), AP_UnixDialog_Border_Shading(), and setBorderColorInGUI().
GtkWidget* AP_UnixDialog_Border_Shading::m_wBorderStyle [protected] |
GtkWidget* AP_UnixDialog_Border_Shading::m_wBorderThickness [protected] |
GtkWidget* AP_UnixDialog_Border_Shading::m_wCloseButton [protected] |
Referenced by _connectSignals(), and _constructWindow().
GtkWidget* AP_UnixDialog_Border_Shading::m_windowMain [protected] |
Referenced by _connectSignals(), activate(), AP_UnixDialog_Border_Shading(), destroy(), getWindow(), notifyActiveFrame(), and runModeless().
GtkWidget* AP_UnixDialog_Border_Shading::m_wLineBottom [protected] |
Referenced by _connectSignals(), _constructWindow(), AP_UnixDialog_Border_Shading(), and setSensitivity().
GtkWidget* AP_UnixDialog_Border_Shading::m_wLineLeft [protected] |
Referenced by _connectSignals(), _constructWindow(), AP_UnixDialog_Border_Shading(), and setSensitivity().
GtkWidget* AP_UnixDialog_Border_Shading::m_wLineRight [protected] |
Referenced by _connectSignals(), _constructWindow(), AP_UnixDialog_Border_Shading(), and setSensitivity().
GtkWidget* AP_UnixDialog_Border_Shading::m_wLineTop [protected] |
Referenced by _connectSignals(), _constructWindow(), AP_UnixDialog_Border_Shading(), and setSensitivity().
GtkWidget* AP_UnixDialog_Border_Shading::m_wPreviewArea [protected] |
Referenced by _connectSignals(), _constructWindow(), AP_UnixDialog_Border_Shading(), and runModeless().
GtkWidget* AP_UnixDialog_Border_Shading::m_wShadingColorButton [protected] |
Referenced by _connectSignals(), _constructWindow(), _setShadingEnable(), setSensitivity(), and setShadingColorInGUI().
GtkWidget* AP_UnixDialog_Border_Shading::m_wShadingColorLabel [protected] |
Referenced by _constructWindow(), and _setShadingEnable().
GtkWidget* AP_UnixDialog_Border_Shading::m_wShadingEnable [protected] |
GtkWidget* AP_UnixDialog_Border_Shading::m_wShadingOffset [protected] |
GtkWidget* AP_UnixDialog_Border_Shading::m_wShadingOffsetLabel [protected] |
Referenced by _constructWindow(), and _setShadingEnable().