#include <ap_Dialog_Background.h>
Public Types | |
enum | tAnswer { a_OK, a_CANCEL } |
Public Member Functions | |
AP_Dialog_Background (XAP_DialogFactory *pDlgFactory, XAP_Dialog_Id id) | |
virtual | ~AP_Dialog_Background (void) |
virtual void | runModal (XAP_Frame *pFrame)=0 |
AP_Dialog_Background::tAnswer | getAnswer (void) const |
const gchar * | getColor (void) const |
void | setColor (const gchar *pszColor) |
void | setColor (UT_RGBColor &col) |
void | setForeground (void) |
void | setHighlight (void) |
bool | isForeground (void) const |
bool | isHighlight (void) const |
Protected Member Functions | |
void | setAnswer (AP_Dialog_Background::tAnswer) |
Private Attributes | |
UT_RGBColor | m_color |
gchar | m_pszColor [12] |
AP_Dialog_Background::tAnswer | m_answer |
bool | m_bDoForeground |
bool | m_bDoHighlight |
AP_Dialog_Background::AP_Dialog_Background | ( | XAP_DialogFactory * | pDlgFactory, | |
XAP_Dialog_Id | id | |||
) |
References m_color, m_pszColor, and UT_setColor().
AP_Dialog_Background::~AP_Dialog_Background | ( | void | ) | [virtual] |
AP_Dialog_Background::tAnswer AP_Dialog_Background::getAnswer | ( | void | ) | const |
References m_answer.
Referenced by AP_Win32Dialog_Options_General::_onCommand(), Defun1(), and EV_Win32Toolbar::onDropArrow().
const gchar * AP_Dialog_Background::getColor | ( | void | ) | const |
bool AP_Dialog_Background::isForeground | ( | void | ) | const [inline] |
bool AP_Dialog_Background::isHighlight | ( | void | ) | const [inline] |
virtual void AP_Dialog_Background::runModal | ( | XAP_Frame * | pFrame | ) | [pure virtual] |
Implements XAP_Dialog_NonPersistent.
Implemented in AP_CocoaDialog_Background, AP_UnixDialog_Background, and AP_Win32Dialog_Background.
Referenced by AP_Win32Dialog_Options_General::_onCommand(), Defun1(), and EV_Win32Toolbar::onDropArrow().
void AP_Dialog_Background::setAnswer | ( | AP_Dialog_Background::tAnswer | answer | ) | [protected] |
void AP_Dialog_Background::setColor | ( | const gchar * | pszColor | ) |
References UT_RGBColor::m_blu, m_color, UT_RGBColor::m_grn, m_pszColor, UT_RGBColor::m_red, UT_parseColor(), and UT_setColor().
Referenced by AP_Win32Dialog_Options_General::_onCommand(), AP_CocoaDialog_Background_Controller::aClear:, AP_CocoaDialog_Background_Controller::aColor:, AP_UnixDialog_Background::colorCleared(), Defun1(), EV_Win32Toolbar::onDropArrow(), AP_Win32Dialog_Background::runModal(), and s_color_changed().
void AP_Dialog_Background::setColor | ( | UT_RGBColor & | col | ) |
References UT_RGBColor::m_blu, m_color, UT_RGBColor::m_grn, m_pszColor, UT_RGBColor::m_red, and UT_setColor().
void AP_Dialog_Background::setForeground | ( | void | ) |
References m_bDoForeground.
Referenced by Defun1().
void AP_Dialog_Background::setHighlight | ( | void | ) |
References m_bDoHighlight.
Referenced by Defun1().
Referenced by getAnswer(), and setAnswer().
bool AP_Dialog_Background::m_bDoForeground [private] |
Referenced by setForeground().
bool AP_Dialog_Background::m_bDoHighlight [private] |
Referenced by setHighlight().
UT_RGBColor AP_Dialog_Background::m_color [private] |
Referenced by AP_Dialog_Background(), and setColor().
gchar AP_Dialog_Background::m_pszColor[12] [private] |
Referenced by AP_Dialog_Background(), getColor(), and setColor().