use smaller statusbar margins in mono theme
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -205,6 +205,12 @@ public:
|
|||||||
const wxMenu& menu) const;
|
const wxMenu& menu) const;
|
||||||
#endif // wxUSE_MENUS
|
#endif // wxUSE_MENUS
|
||||||
|
|
||||||
|
#if wxUSE_STATUSBAR
|
||||||
|
virtual wxCoord GetStatusBarBorderBetweenFields() const;
|
||||||
|
|
||||||
|
virtual wxSize GetStatusBarFieldMargins() const;
|
||||||
|
#endif // wxUSE_STATUSBAR
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
// override base class border drawing routines: we always draw just a
|
// override base class border drawing routines: we always draw just a
|
||||||
// single simple border
|
// single simple border
|
||||||
@@ -1029,6 +1035,24 @@ void wxMonoRenderer::DrawScrollbarShaft(wxDC& dc,
|
|||||||
DrawSolidRect(dc, wxMONO_BG_COL, rect);
|
DrawSolidRect(dc, wxMONO_BG_COL, rect);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
// status bar
|
||||||
|
// ----------------------------------------------------------------------------
|
||||||
|
|
||||||
|
#if wxUSE_STATUSBAR
|
||||||
|
|
||||||
|
wxCoord wxMonoRenderer::GetStatusBarBorderBetweenFields() const
|
||||||
|
{
|
||||||
|
return 1;
|
||||||
|
}
|
||||||
|
|
||||||
|
wxSize wxMonoRenderer::GetStatusBarFieldMargins() const
|
||||||
|
{
|
||||||
|
return wxSize(1, 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
#endif // wxUSE_STATUSBAR
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
// top level windows
|
// top level windows
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
Reference in New Issue
Block a user