#include <ap_Win32LeftRuler.h>
Public Member Functions | |
AP_Win32LeftRuler (XAP_Frame *pFrame) | |
virtual | ~AP_Win32LeftRuler (void) |
HWND | createWindow (HWND hwndContainer, UT_uint32 left, UT_uint32 top, UT_uint32 height) |
virtual void | setView (AV_View *pView) |
Static Public Member Functions | |
static bool | registerClass (XAP_Win32App *app) |
static LRESULT CALLBACK | _LeftRulerWndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
HWND | m_hwndLeftRuler |
AP_Win32LeftRuler::AP_Win32LeftRuler | ( | XAP_Frame * | pFrame | ) |
References m_hwndLeftRuler, and AP_LeftRuler::m_pG.
AP_Win32LeftRuler::~AP_Win32LeftRuler | ( | void | ) | [virtual] |
References DELETEP, m_hwndLeftRuler, and AP_LeftRuler::m_pG.
LRESULT CALLBACK AP_Win32LeftRuler::_LeftRulerWndProc | ( | HWND | hwnd, | |
UINT | iMsg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static] |
References XAP_CustomWidgetLU::draw(), EV_EMB_BUTTON1, EV_EMB_BUTTON2, EV_EMB_BUTTON3, GWL, GR_Win32Graphics::handleSetCursorMessage(), GR_Win32Graphics::init3dColors(), AP_LeftRuler::m_pG, AP_LeftRuler::mouseMotion(), AP_LeftRuler::mousePress(), AP_LeftRuler::mouseRelease(), s_GetEMS(), signedHiWord(), signedLoWord(), GR_Graphics::tlu(), UT_DefWindowProc(), and UT_return_val_if_fail.
Referenced by registerClass().
HWND AP_Win32LeftRuler::createWindow | ( | HWND | hwndContainer, | |
UT_uint32 | left, | |||
UT_uint32 | top, | |||
UT_uint32 | height | |||
) |
References DELETEP, XAP_App::getApp(), XAP_Win32App::getInstance(), GR_Win32Graphics::init3dColors(), m_hwndLeftRuler, AP_LeftRuler::m_pG, XAP_App::newGraphics(), AP_LeftRuler::s_iFixedWidth, s_LeftRulerWndClassName, AP_LeftRuler::setHeight(), AP_LeftRuler::setWidth(), SWL, UT_CreateWindowEx(), and UT_return_val_if_fail.
Referenced by AP_Win32FrameImpl::_createLeftRuler().
bool AP_Win32LeftRuler::registerClass | ( | XAP_Win32App * | app | ) | [static] |
void AP_Win32LeftRuler::setView | ( | AV_View * | pView | ) | [virtual] |
Reimplemented from AP_LeftRuler.
References DELETEP, XAP_App::getApp(), GR_Win32Graphics::init3dColors(), m_hwndLeftRuler, AP_LeftRuler::m_pG, XAP_App::newGraphics(), and UT_return_if_fail.
HWND AP_Win32LeftRuler::m_hwndLeftRuler [protected] |
Referenced by AP_Win32LeftRuler(), createWindow(), setView(), and ~AP_Win32LeftRuler().