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

Method setStyleConfig

src/eepp/ui/uiwindow.cpp:1394–1406  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1392}
1393
1394UIWindow* UIWindow::setStyleConfig( const StyleConfig& styleConfig ) {
1395 mStyleConfig = styleConfig;
1396
1397 updateWinFlags();
1398
1399 setAlpha( mStyleConfig.BaseAlpha );
1400
1401 applyDefaultTheme();
1402
1403 applyMinWinSize();
1404
1405 return this;
1406}
1407
1408UIWindow* UIWindow::setMinWindowSize( const Float& width, const Float& height ) {
1409 return setMinWindowSize( Sizef( width, height ) );

Callers 8

drawAfterLineTextMethod · 0.45
drawAfterLineTextMethod · 0.45
drawMethod · 0.45
NewWindowMethod · 0.45
UTESTFunction · 0.45
createBaseUIMethod · 0.45
createMapEditorMethod · 0.45
createETGEditorMethod · 0.45

Calls

no outgoing calls

Tested by 4

UTESTFunction · 0.36
createBaseUIMethod · 0.36
createMapEditorMethod · 0.36
createETGEditorMethod · 0.36