#include <xap_Win32FrameImpl.h>
XAP_Win32FrameImpl::XAP_Win32FrameImpl | ( | XAP_Frame * | pFrame | ) |
XAP_Win32FrameImpl::~XAP_Win32FrameImpl | ( | void | ) | [virtual] |
References DELETEP, m_hwndFrame, m_pWin32Menu, and m_pWin32Popup.
bool XAP_Win32FrameImpl::_close | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References XAP_App::getApp(), m_hwndFrame, PREF_FLAG_GEOMETRY_POS, XAP_App::setGeometry(), and UT_return_val_if_fail.
virtual HWND XAP_Win32FrameImpl::_createDocumentWindow | ( | XAP_Frame * | pFrame, | |
HWND | hwndParent, | |||
UT_uint32 | iLeft, | |||
UT_uint32 | iTop, | |||
UT_uint32 | iWidth, | |||
UT_uint32 | iHeight | |||
) | [protected, pure virtual] |
Implemented in AP_Win32FrameImpl.
Referenced by _createTopLevelWindow().
virtual HWND XAP_Win32FrameImpl::_createStatusBarWindow | ( | XAP_Frame * | pFrame, | |
HWND | hwndParent, | |||
UT_uint32 | iLeft, | |||
UT_uint32 | iTop, | |||
UT_uint32 | iWidth | |||
) | [protected, pure virtual] |
Implemented in AP_Win32FrameImpl.
Referenced by _createTopLevelWindow().
void XAP_Win32FrameImpl::_createTopLevelWindow | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References _createDocumentWindow(), _createStatusBarWindow(), XAP_FrameImpl::_createToolbars(), UT_Win32LocaleString::c_str(), UT_Win32LocaleString::fromASCII(), XAP_App::getApp(), XAP_App::getApplicationName(), XAP_App::getApplicationTitleForTitleBar(), XAP_FrameImpl::getFrame(), XAP_Win32App::getInstance(), EV_Win32Menu::getMenuHandle(), m_dropTarget, m_hwndContainer, m_hwndFrame, m_hwndRebar, m_hwndStatusBar, m_iBarHeight, m_iSizeHeight, m_iSizeWidth, m_iStatusBarHeight, m_mouseWheelMessage, m_pWin32Menu, XAP_FrameImpl::m_szMenuLabelSetName, XAP_FrameImpl::m_szMenuLayoutName, MSH_MOUSEWHEEL, s_oldRedBar, s_rebarWndProc(), EV_Win32MenuBar::synthesizeMenuBar(), UT_ASSERT, UT_CreateWindowEx(), UT_DEBUGMSG, and UT_return_if_fail.
Referenced by AP_Win32FrameImpl::_initialize().
LRESULT CALLBACK XAP_Win32FrameImpl::_FrameWndProc | ( | HWND | hwnd, | |
UINT | iMsg, | |||
WPARAM | wParam, | |||
LPARAM | lParam | |||
) | [static, protected] |
window class related functions
References XAP_FrameImpl::_startViewAutoUpdater(), AV_FOCUS_HERE, AV_FOCUS_NONE, XAP_Frame::close(), FV_View::cmdInsertGraphic(), code, IE_ImpGraphic::constructImporter(), DELETEP, EV_EditMethodContainer::findEditMethodByName(), EV_EditMethod::Fn(), AV_View::focusChange(), UT_Win32LocaleString::fromLocale(), XAP_App::getApp(), XAP_Frame::getCurrentView(), XAP_App::getEditMethodContainer(), XAP_Frame::getFilename(), XAP_Frame::getFrameImpl(), XAP_Win32App::getHKL(), UT_GenericVector< T >::getItemCount(), UT_GenericVector< T >::getNthItem(), EV_Win32Toolbar::getToolTip(), XAP_Frame::getViewNumber(), EV_Win32Toolbar::getWindow(), IEFT_Unknown, IE_ImpGraphic::importGraphic(), XAP_Frame::isDirty(), AV_View::isLayoutFilling(), EV_Win32Toolbar::ItemIdFromWmCommand(), XAP_Frame::loadDocument(), m_hwndContainer, m_hwndFrame, m_hwndRebar, m_hwndStatusBar, m_iBarHeight, m_iRealSizeHeight, m_iRealSizeWidth, m_iSizeHeight, m_iSizeWidth, m_iStatusBarHeight, m_mouseWheelMessage, XAP_FrameImpl::m_pKeyboard, m_pWin32Menu, m_pWin32Popup, XAP_FrameImpl::m_vecToolbars, XAP_App::newFrame(), EV_Win32Menu::onCommand(), EV_Win32Menu::onDrawItem(), EV_Win32Toolbar::onDropArrow(), EV_Win32Menu::onInitMenu(), EV_Win32Menu::onMeasureItem(), EV_Win32Menu::onMenuChar(), EV_Win32Menu::onMenuSelect(), XAP_Frame::queue_resize(), ev_Win32Keyboard::remapKeyboard(), s_CouldNotLoadFileMessage(), XAP_Win32App::setKbdLanguage(), XAP_Frame::setStatusMessage(), XAP_Frame::show(), TBN_DROPDOWN, EV_Win32Toolbar::toolbarEvent(), XAP_Frame::updateZoom(), UT_ASSERT, UT_ASSERT_HARMLESS, UT_DEBUGMSG, UT_DefWindowProc(), UT_go_filename_to_uri(), UT_OK, UT_return_val_if_fail, UT_UTF8String::utf8_str(), and UT_Win32LocaleString::utf8_str().
Referenced by _RegisterClass().
UT_uint32 XAP_Win32FrameImpl::_getBarHeight | ( | void | ) | [inline, protected] |
XAP_DialogFactory * XAP_Win32FrameImpl::_getDialogFactory | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References m_dialogFactory.
HWND XAP_Win32FrameImpl::_getHwndContainer | ( | void | ) | [inline, protected] |
Reimplemented in AP_Win32FrameImpl.
Referenced by AP_Win32FrameImpl::_updateContainerWindow().
HWND XAP_Win32FrameImpl::_getHwndRebar | ( | void | ) | [inline, protected] |
Referenced by AP_Win32FrameImpl::_toggleBar().
HWND XAP_Win32FrameImpl::_getHwndStatusBar | ( | void | ) | [inline, protected] |
Referenced by AP_Win32FrameImpl::_createStatusBarWindow().
EV_Menu * XAP_Win32FrameImpl::_getMainMenu | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References m_pWin32Menu.
UT_uint32 XAP_Win32FrameImpl::_getSizeHeight | ( | void | ) | [inline, protected] |
Referenced by AP_Win32FrameImpl::_toggleBar().
UT_uint32 XAP_Win32FrameImpl::_getSizeWidth | ( | void | ) | [inline, protected] |
Referenced by AP_Win32FrameImpl::_toggleBar().
virtual HWND XAP_Win32FrameImpl::_getTopLevelWindow | ( | void | ) | const [inline, protected, virtual] |
Referenced by AP_Win32FrameImpl::_DocumentWndProc().
void XAP_Win32FrameImpl::_initialize | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
Reimplemented in AP_Win32FrameImpl.
References XAP_App::getApp(), XAP_App::getEditEventMapper(), XAP_FrameImpl::m_pKeyboard, XAP_FrameImpl::m_pMouse, and UT_return_if_fail.
EV_Toolbar * XAP_Win32FrameImpl::_newToolbar | ( | XAP_Frame * | frame, | |
const char * | szLayout, | |||
const char * | szLanguage | |||
) | [protected, virtual] |
Implements XAP_FrameImpl.
References XAP_App::getApp(), EV_Win32Toolbar::getWindow(), and m_iBarHeight.
void XAP_Win32FrameImpl::_nullUpdate | ( | void | ) | const [protected, virtual] |
Implements XAP_FrameImpl.
void XAP_Win32FrameImpl::_queue_resize | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References m_hwndFrame, m_iRealSizeHeight, and m_iRealSizeWidth.
bool XAP_Win32FrameImpl::_raise | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References m_hwndFrame, and UT_return_val_if_fail.
void XAP_Win32FrameImpl::_rebuildMenus | ( | void | ) | [protected, virtual] |
This code is used by the dynamic menu API to rebuild the menus after a a change in the menu structure.
Implements XAP_FrameImpl.
bool XAP_Win32FrameImpl::_RegisterClass | ( | XAP_Win32App * | app | ) | [static, protected] |
Reimplemented in AP_Win32FrameImpl.
References _FrameWndProc(), XAP_Win32App::getIcon(), XAP_Win32App::getInstance(), XAP_Win32App::getSmallIcon(), UT_RegisterClassEx(), and UT_return_val_if_fail.
Referenced by AP_Win32FrameImpl::_RegisterClass().
bool XAP_Win32FrameImpl::_runModalContextMenu | ( | AV_View * | pView, | |
const char * | szMenuName, | |||
UT_sint32 | x, | |||
UT_sint32 | y | |||
) | [protected, virtual] |
Implements XAP_FrameImpl.
References _translateDocumentToScreen(), DELETEP, XAP_App::getApp(), XAP_FrameImpl::getFrame(), AV_View::getGraphics(), EV_Win32Menu::getMenuHandle(), m_hwndFrame, XAP_FrameImpl::m_pMouse, m_pWin32Popup, XAP_FrameImpl::m_szMenuLabelSetName, EV_Win32Menu::setTrackMenu(), EV_Win32MenuPopup::synthesizeMenuPopup(), GR_Graphics::tdu(), UT_DEBUGMSG, and UT_return_val_if_fail.
void XAP_Win32FrameImpl::_setBarHeight | ( | UT_uint32 | iBarHeight | ) | [inline, protected] |
Referenced by AP_Win32FrameImpl::_toggleBar().
void XAP_Win32FrameImpl::_setCursor | ( | GR_Graphics::Cursor | cursor | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References XAP_Frame::getCurrentView(), XAP_FrameImpl::getFrame(), FV_View::getGraphics(), GR_Win32Graphics::handleSetCursorMessage(), and UT_return_if_fail.
void XAP_Win32FrameImpl::_setFullScreen | ( | bool | isFullScreen | ) | [protected, virtual] |
void XAP_Win32FrameImpl::_setHwndContainer | ( | HWND | hWnd | ) | [inline, protected] |
void XAP_Win32FrameImpl::_setHwndRebar | ( | HWND | hWnd | ) | [inline, protected] |
void XAP_Win32FrameImpl::_setHwndStatusBar | ( | HWND | hWnd | ) | [inline, protected] |
Referenced by AP_Win32FrameImpl::_createStatusBarWindow().
bool XAP_Win32FrameImpl::_show | ( | void | ) | [protected, virtual] |
Implements XAP_FrameImpl.
References m_hwndFrame, and UT_return_val_if_fail.
virtual void XAP_Win32FrameImpl::_translateDocumentToScreen | ( | UT_sint32 & | x, | |
UT_sint32 & | y | |||
) | [protected, pure virtual] |
Implemented in AP_Win32FrameImpl.
Referenced by _runModalContextMenu().
bool XAP_Win32FrameImpl::_updateTitle | ( | void | ) | [protected, virtual] |
virtual XAP_FrameImpl* XAP_Win32FrameImpl::createInstance | ( | XAP_Frame * | pFrame | ) | [pure virtual] |
Implements XAP_FrameImpl.
Implemented in AP_Win32FrameImpl.
UT_RGBColor XAP_Win32FrameImpl::getColorSelBackground | ( | ) | const [protected, virtual] |
Reimplemented from XAP_FrameImpl.
Reimplemented in AP_Win32FrameImpl.
UT_RGBColor XAP_Win32FrameImpl::getColorSelForeground | ( | ) | const [protected, virtual] |
Reimplemented from XAP_FrameImpl.
HWND XAP_Win32FrameImpl::getToolbarWindow | ( | void | ) | const [inline] |
HWND XAP_Win32FrameImpl::getTopLevelWindow | ( | void | ) | const [inline] |
friend class XAP_Frame [friend] |
Reimplemented from XAP_FrameImpl.
Referenced by _getDialogFactory().
Referenced by _createTopLevelWindow().
HWND XAP_Win32FrameImpl::m_hwndContainer [private] |
Reimplemented in AP_Win32FrameImpl.
Referenced by _createTopLevelWindow(), and _FrameWndProc().
HWND XAP_Win32FrameImpl::m_hwndFrame [private] |
Referenced by _close(), _createTopLevelWindow(), _FrameWndProc(), _queue_resize(), _raise(), _runModalContextMenu(), _show(), _updateTitle(), and ~XAP_Win32FrameImpl().
HWND XAP_Win32FrameImpl::m_hwndRebar [private] |
Referenced by _createTopLevelWindow(), and _FrameWndProc().
HWND XAP_Win32FrameImpl::m_hwndStatusBar [private] |
Referenced by _createTopLevelWindow(), and _FrameWndProc().
UT_uint32 XAP_Win32FrameImpl::m_iBarHeight [private] |
Referenced by _createTopLevelWindow(), _FrameWndProc(), and _newToolbar().
Referenced by _FrameWndProc(), and _queue_resize().
Referenced by _FrameWndProc(), and _queue_resize().
UT_uint32 XAP_Win32FrameImpl::m_iSizeHeight [private] |
Referenced by _createTopLevelWindow(), and _FrameWndProc().
UT_uint32 XAP_Win32FrameImpl::m_iSizeWidth [private] |
Referenced by _createTopLevelWindow(), and _FrameWndProc().
Referenced by _createTopLevelWindow(), and _FrameWndProc().
Referenced by _setFullScreen().
Referenced by _setFullScreen().
Referenced by _setFullScreen().
Referenced by _setFullScreen().
Referenced by _setFullScreen().
UINT XAP_Win32FrameImpl::m_mouseWheelMessage [private] |
Referenced by _createTopLevelWindow(), and _FrameWndProc().
EV_Win32MenuBar* XAP_Win32FrameImpl::m_pWin32Menu [private] |
Referenced by _createTopLevelWindow(), _FrameWndProc(), _getMainMenu(), and ~XAP_Win32FrameImpl().
Referenced by _FrameWndProc(), _runModalContextMenu(), and ~XAP_Win32FrameImpl().
Referenced by EV_Win32Toolbar::onDropArrow(), and EV_Win32Toolbar::toolbarEvent().
Referenced by EV_Win32Toolbar::onDropArrow(), and EV_Win32Toolbar::toolbarEvent().