MCPcopy Create free account
hub / github.com/SpartanJ/eepp / getTopAreaWidth

Method getTopAreaWidth

src/eepp/ui/uicodeeditor.cpp:762–768  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

760}
761
762Float UICodeEditor::getTopAreaWidth() const {
763 Float vScrollWidth = mVScrollBar->isVisible() ? mVScrollBar->getPixelsSize().getWidth() : 0.f;
764 if ( mMinimapEnabled )
765 vScrollWidth += getMinimapWidth();
766 Float viewWidth = eefloor( mSize.getWidth() - vScrollWidth );
767 return eemax( 0.f, viewWidth );
768}
769
770bool UICodeEditor::getShowIndentationGuides() const {
771 return mShowIndentationGuides;

Callers 4

onMouseClickMethod · 0.80
onMouseMoveMethod · 0.80
drawTopMethod · 0.80
drawTopMethod · 0.80

Calls 4

eemaxFunction · 0.85
isVisibleMethod · 0.45
getWidthMethod · 0.45
getPixelsSizeMethod · 0.45

Tested by

no test coverage detected