editor: reference dummy visualizer and mesh export to header (#706)

This commit is contained in:
Turánszki János
2023-07-09 08:47:48 +02:00
committed by GitHub
parent c36fd3bc81
commit 984690efa8
8 changed files with 205498 additions and 71 deletions
+7
View File
@@ -513,6 +513,11 @@ void GeneralWindow::Create(EditorComponent* _editor)
editor->scaleButton.sprites[i].params.enableCornerRounding();
editor->scaleButton.sprites[i].params.corners_rounding[3].radius = 40;
editor->dummyButton.sprites[i].params.enableCornerRounding();
editor->dummyButton.sprites[i].params.corners_rounding[2].radius = 40;
editor->dummyButton.sprites[i].params.corners_rounding[3].radius = 40;
}
editor->componentsWnd.weatherWnd.default_sky_horizon = dark_point;
editor->componentsWnd.weatherWnd.default_sky_zenith = theme_color_idle;
@@ -533,11 +538,13 @@ void GeneralWindow::Create(EditorComponent* _editor)
{
editor->inactiveEntityColor = theme_color_focus;
editor->hoveredEntityColor = theme_color_focus;
editor->dummyColor = theme_color_focus;
}
else
{
editor->inactiveEntityColor = theme.font.color;
editor->hoveredEntityColor = theme.font.color;
editor->dummyColor = theme.font.color;
}
editor->inactiveEntityColor.setA(150);
editor->backgroundEntityColor = shadow_color;