#include <ap_Win32TopRuler.h>
Public Member Functions | |
AP_Win32TopRuler (XAP_Frame *pFrame) | |
virtual | ~AP_Win32TopRuler (void) |
HWND | createWindow (HWND hwndContainer, UT_uint32 left, UT_uint32 top, UT_uint32 width) |
virtual void | setView (AV_View *pView) |
Static Public Member Functions | |
static bool | registerClass (XAP_Win32App *app) |
static LRESULT CALLBACK | _TopRulerWndProc (HWND hwnd, UINT iMsg, WPARAM wParam, LPARAM lParam) |
Protected Attributes | |
HWND | m_hwndTopRuler |
AP_Win32TopRuler::AP_Win32TopRuler | ( | XAP_Frame * | pFrame | ) |
References m_hwndTopRuler, and AP_TopRuler::m_pG.
AP_Win32TopRuler::~AP_Win32TopRuler | ( | void | ) | [virtual] |
References DELETEP, AP_TopRuler::getView(), m_hwndTopRuler, and AP_TopRuler::m_pG.
LRESULT CALLBACK AP_Win32TopRuler::_TopRulerWndProc | ( | HWND | hwnd, | |
UINT | iMsg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static] |
References XAP_CustomWidgetLU::draw(), EV_EMB_BUTTON1, EV_EMB_BUTTON2, EV_EMB_BUTTON3, FV_View::getPoint(), AP_TopRuler::getView(), GWL, GR_Win32Graphics::handleSetCursorMessage(), GR_Win32Graphics::init3dColors(), AP_TopRuler::isMouseOverTab(), AP_TopRuler::m_pG, AP_TopRuler::mouseMotion(), AP_TopRuler::mousePress(), AP_TopRuler::mouseRelease(), s_GetEMS(), signedHiWord(), signedLoWord(), GR_Graphics::tlu(), UT_DefWindowProc(), and UT_return_val_if_fail.
Referenced by registerClass().
HWND AP_Win32TopRuler::createWindow | ( | HWND | hwndContainer, | |
UT_uint32 | left, | |||
UT_uint32 | top, | |||
UT_uint32 | width | |||
) |
References DELETEP, XAP_App::getApp(), AP_TopRuler::getGraphics(), XAP_Win32App::getInstance(), GR_Win32Graphics::init3dColors(), m_hwndTopRuler, AP_TopRuler::m_pG, XAP_App::newGraphics(), AP_TopRuler::s_iFixedHeight, s_TopRulerWndClassName, AP_TopRuler::setHeight(), AP_TopRuler::setWidth(), SWL, UT_CreateWindowEx(), UT_DEBUGMSG, and UT_return_val_if_fail.
Referenced by AP_Win32FrameImpl::_createTopRuler().
bool AP_Win32TopRuler::registerClass | ( | XAP_Win32App * | app | ) | [static] |
void AP_Win32TopRuler::setView | ( | AV_View * | pView | ) | [virtual] |
Reimplemented from AP_TopRuler.
References DELETEP, XAP_App::getApp(), GR_Win32Graphics::init3dColors(), m_hwndTopRuler, AP_TopRuler::m_pG, XAP_App::newGraphics(), and UT_return_if_fail.
HWND AP_Win32TopRuler::m_hwndTopRuler [protected] |
Referenced by AP_Win32TopRuler(), createWindow(), setView(), and ~AP_Win32TopRuler().