vcl: Move MenuFloatingWindow to an own file + adapt code

Desktop / LibreOffice - Jan Holesovsky [collabora.com] - 8 September 2014 23:58 UTC

The needed changes included:

- Move MenuItemList and MenuItemData to an own file
- Introduce MenuWindow class for pieces shared between MenuFloatingWindow and MenuBarWindow.

355267b vcl: Move MenuFloatingWindow to an own file + adapt code.
include/vcl/menu.hxx | 13 +
vcl/Library_vcl.mk | 3 +
vcl/source/window/menu.cxx | 1902 ++----------------------------
vcl/source/window/menufloatingwindow.cxx | 1209 +++++++++++++++++++
vcl/source/window/menufloatingwindow.hxx | 121 ++
vcl/source/window/menuitemlist.cxx | 280 +++++
vcl/source/window/menuitemlist.hxx | 152 +++
vcl/source/window/menuwindow.cxx | 161 +++
vcl/source/window/menuwindow.hxx | 49 +
9 files changed, 2062 insertions(+), 1828 deletions(-)

Upstream: cgit.freedesktop.org


  • Share