Update Better Code Hub config
This commit is contained in:
parent
e0f4872d6e
commit
67f2cbcf76
|
@ -1,10 +1,13 @@
|
|||
exclude:
|
||||
- /fonts/newfont.h
|
||||
- /fonts/vgafont.h
|
||||
- /fonts/unicodemap.h
|
||||
- /fonts/.*
|
||||
- /scripts/.*
|
||||
- /doc/.*
|
||||
- /build.sh
|
||||
- /ltmain.sh
|
||||
component_depth: 3
|
||||
test:
|
||||
include:
|
||||
- /test/.*
|
||||
languages:
|
||||
- cpp
|
||||
- script
|
||||
|
|
|
@ -186,6 +186,8 @@ class FDialog : public FWindow
|
|||
void drawTitleBar();
|
||||
void drawBarButton();
|
||||
void drawZoomButton();
|
||||
void drawRestoreSizeButton();
|
||||
void drawZoomedButton();
|
||||
void drawTextBar();
|
||||
void restoreOverlaidWindows();
|
||||
void setCursorToFocusWidget();
|
||||
|
|
|
@ -1132,6 +1132,13 @@ void FDialog::drawZoomButton()
|
|||
setColor (wc.titlebar_button_fg, wc.titlebar_button_bg);
|
||||
|
||||
if ( isZoomed() )
|
||||
drawRestoreSizeButton();
|
||||
else
|
||||
drawZoomedButton();
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
inline void FDialog::drawRestoreSizeButton()
|
||||
{
|
||||
if ( isNewFont() )
|
||||
{
|
||||
|
@ -1154,7 +1161,9 @@ void FDialog::drawZoomButton()
|
|||
}
|
||||
}
|
||||
}
|
||||
else // is not zoomed
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
inline void FDialog::drawZoomedButton()
|
||||
{
|
||||
if ( isNewFont() )
|
||||
{
|
||||
|
@ -1177,7 +1186,6 @@ void FDialog::drawZoomButton()
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//----------------------------------------------------------------------
|
||||
void FDialog::drawTextBar()
|
||||
|
|
Loading…
Reference in New Issue