From 0f8e03229b5aaa1727c612a55180945c7608ad2d Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Wed, 2 Apr 2025 09:46:24 +0200 Subject: General code cleanups * Removed some unused includes and forward declarations. * Use std::unique_ptr to automate cleanup. * Use TextRenderer::renderText in BrowserBox to avoid code duplication. * Removed unused STATE_NORMAL from StateFlags. * Small layout fix in ServerDialog. * Reduced rewrapping delay in BrowserBox to 33ms and disabled it entirely when there are no more than 1000 lines to rewrap. The rewrapping is usually fast enough. --- data/graphics/gui/theme.xml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) (limited to 'data') diff --git a/data/graphics/gui/theme.xml b/data/graphics/gui/theme.xml index 2dfb5a5f..b0484c45 100644 --- a/data/graphics/gui/theme.xml +++ b/data/graphics/gui/theme.xml @@ -50,21 +50,25 @@ + + + + @@ -80,6 +84,7 @@ + @@ -91,6 +96,7 @@ + @@ -111,6 +117,7 @@ + @@ -125,21 +132,25 @@ + + + + @@ -154,16 +165,19 @@ + + + @@ -172,6 +186,7 @@ + @@ -180,12 +195,14 @@ + + @@ -194,6 +211,7 @@ + @@ -202,6 +220,7 @@ + @@ -210,6 +229,7 @@ + @@ -218,6 +238,7 @@ + @@ -226,6 +247,7 @@ + @@ -234,11 +256,13 @@ + + @@ -247,6 +271,7 @@ + -- cgit v1.2.3-70-g09d2