|
LibreOffice Module vcl (master) 1
|
#include "menubarwindow.hxx"#include "menuitemlist.hxx"#include "menufloatingwindow.hxx"#include <vcl/dockingarea.hxx>#include <vcl/settings.hxx>#include <vcl/taskpanelist.hxx>#include <sal/log.hxx>#include <salframe.hxx>#include <salmenu.hxx>#include <svdata.hxx>#include <strings.hrc>#include <bitmaps.hlst>#include <window.h>#include "bufferdevice.hxx"#include <menubarvalue.hxx>Go to the source code of this file.
Macros | |
| #define | IID_DOCUMENTCLOSE 1 |
Functions | |
| IMPL_LINK_NOARG (MenuBarWindow, CloseHdl, ToolBox *, void) | |
| IMPL_LINK (MenuBarWindow, ToolboxEventHdl, VclWindowEvent &, rEvent, void) | |
| IMPL_LINK (MenuBarWindow, ShowHideListener, VclWindowEvent &, rEvent, void) | |
| static int | ImplGetTopDockingAreaHeight (vcl::Window const *pWindow) |
| static void | ImplAddNWFSeparator (vcl::RenderContext &rRenderContext, const Size &rSize, const MenubarValue &rMenubarValue) |
| #define IID_DOCUMENTCLOSE 1 |
Definition at line 39 of file menubarwindow.cxx.
| IMPL_LINK | ( | MenuBarWindow | , |
| ShowHideListener | , | ||
| VclWindowEvent & | , | ||
| rEvent | , | ||
| void | |||
| ) |
Definition at line 264 of file menubarwindow.cxx.
References ITEMPOS_INVALID, MenuHide, MenuShow, WindowHide, and WindowShow.
| IMPL_LINK | ( | MenuBarWindow | , |
| ToolboxEventHdl | , | ||
| VclWindowEvent & | , | ||
| rEvent | , | ||
| void | |||
| ) |
Definition at line 242 of file menubarwindow.cxx.
References MenuBarButtonCallbackArg::bHighlight, MenuBarButtonCallbackArg::nId, nPos, ToolboxHighlight, and ToolboxHighlightOff.
| IMPL_LINK_NOARG | ( | MenuBarWindow | , |
| CloseHdl | , | ||
| ToolBox * | , | ||
| void | |||
| ) |
Definition at line 217 of file menubarwindow.cxx.
References MenuBarButtonCallbackArg::bHighlight, MenuBar::GetCloseButtonClickHdl(), IID_DOCUMENTCLOSE, MenuBarButtonCallbackArg::nId, and Application::PostUserEvent().
|
static |
Definition at line 578 of file menubarwindow.cxx.
References tools::Rectangle::BottomLeft(), tools::Rectangle::BottomRight(), OutputDevice::DrawLine(), StyleSettings::GetSeparatorColor(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), ImplGetSVData(), MenubarValue::maTopDockingAreaHeight, and OutputDevice::SetLineColor().
Referenced by MenuBarWindow::HighlightItem(), and MenuBarWindow::Paint().
|
static |
Definition at line 543 of file menubarwindow.cxx.
References DOCKINGAREA, FirstChild, vcl::Window::GetOutputSizePixel(), vcl::Window::GetType(), vcl::Window::GetWindow(), Size::Height(), vcl::Window::ImplGetFrameWindow(), vcl::Window::IsSystemWindow(), Next, and Top.
Referenced by MenuBarWindow::HighlightItem(), and MenuBarWindow::Paint().