#include <ap_Dialog_Border_Shading.h>
Public Member Functions | |
AP_Border_Shading_preview (GR_Graphics *gc, AP_Dialog_Border_Shading *pFormatTable) | |
virtual | ~AP_Border_Shading_preview (void) |
void | draw (const UT_Rect *clip=NULL) |
GR_Graphics * | getGraphics (void) const |
Private Attributes | |
AP_Dialog_Border_Shading * | m_pBorderShading |
AP_Border_Shading_preview::AP_Border_Shading_preview | ( | GR_Graphics * | gc, | |
AP_Dialog_Border_Shading * | pFormatTable | |||
) |
References m_pBorderShading.
AP_Border_Shading_preview::~AP_Border_Shading_preview | ( | void | ) | [virtual] |
void AP_Border_Shading_preview::draw | ( | const UT_Rect * | clip = NULL |
) | [virtual] |
Implements XAP_CustomWidget.
References BORDER_SHADING_SHADING_DISABLE, GR_Painter::clearArea(), GR_Graphics::CLR3D_Background, GR_Painter::drawLine(), GR_Painter::fillRect(), AP_Dialog_Border_Shading::getBottomToggled(), AP_Dialog_Border_Shading::getLeftToggled(), AP_Dialog_Border_Shading::getPropVector(), AP_Dialog_Border_Shading::getRightToggled(), AP_Dialog_Border_Shading::getTopToggled(), XAP_Preview::getWindowHeight(), XAP_Preview::getWindowWidth(), XAP_Preview::m_gc, m_pBorderShading, PP_getAttribute(), GR_Graphics::setColor(), GR_Graphics::setLineWidth(), GR_Graphics::tlu(), UT_convertToLogicalUnits(), UT_parseColor(), and UT_UNUSED.
Referenced by AP_Win32Dialog_Border_Shading::event_previewExposed(), AP_UnixDialog_Border_Shading::event_previewExposed(), and AP_UnixDialog_Border_Shading::runModeless().
GR_Graphics* AP_Border_Shading_preview::getGraphics | ( | void | ) | const [inline] |
Referenced by AP_Border_Shading_preview(), and draw().