Jump to content

KrMenuBar: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
Ak120 (talk | contribs)
mNo edit summary
 
Line 1: Line 1:
'''#include "krmenu.hpp"'''
'''#include "krmenu.hpp"'''


KrMenuBar does not provide real new features, but rather a bugfix. It behaves exactely like IMenuBar, from which it inherits, with one exception: when constructed using
KrMenuBar does not provide real new features, but rather a bugfix. It behaves exactly like IMenuBar, from which it inherits, with one exception: when constructed using
  public:
  public:
  KrMenuBar (IFrameWindow *owner, const Style & style = defaultStyle());
  KrMenuBar (IFrameWindow *owner, const Style & style = defaultStyle());
the correct system font for menus is used to build the menu bar and the associated menus (IMenuBar erranously uses the system proportional font).
the correct system font for menus is used to build the menu bar and the associated menus (IMenuBar erroneously uses the system proportional font).


[[Category:Kronis Classes]]
[[Category:Kronis Classes]]

Latest revision as of 21:29, 7 October 2022

#include "krmenu.hpp"

KrMenuBar does not provide real new features, but rather a bugfix. It behaves exactly like IMenuBar, from which it inherits, with one exception: when constructed using

public:
KrMenuBar (IFrameWindow *owner, const Style & style = defaultStyle());

the correct system font for menus is used to build the menu bar and the associated menus (IMenuBar erroneously uses the system proportional font).