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