summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--amiga/system_colour.c4
-rw-r--r--desktop/tree.c2
-rw-r--r--desktop/tree.h1
3 files changed, 5 insertions, 2 deletions
diff --git a/amiga/system_colour.c b/amiga/system_colour.c
index e520bf448..a9c695057 100644
--- a/amiga/system_colour.c
+++ b/amiga/system_colour.c
@@ -26,6 +26,7 @@
#include "utils/log.h"
#include "desktop/gui.h"
#include "desktop/options.h"
+#include "desktop/tree.h"
#include <proto/graphics.h>
#include <proto/intuition.h>
@@ -290,7 +291,8 @@ bool gui_system_colour_init(void)
}
gui_system_colour_pw = colour_list;
-
+ tree_setup_colours();
+
return true;
}
diff --git a/desktop/tree.c b/desktop/tree.c
index 4928d3e91..8bb066630 100644
--- a/desktop/tree.c
+++ b/desktop/tree.c
@@ -183,7 +183,7 @@ void tree_set_icon_dir(char *icon_dir)
/**
* Set up colours for plot styles used in tree redraw.
*/
-static void tree_setup_colours(void)
+void tree_setup_colours(void)
{
/* Background colour */
plot_style_fill_tree_background.fill_colour =
diff --git a/desktop/tree.h b/desktop/tree.h
index b0b7d2cc1..8ac505783 100644
--- a/desktop/tree.h
+++ b/desktop/tree.h
@@ -130,6 +130,7 @@ typedef node_callback_resp (*tree_node_user_callback)(void *user_data,
/* Non-platform specific code */
void tree_set_icon_dir(char *icon_dir);
+void tree_setup_colours(void);
/* Functions for creating/deleting tree primitives and for tree structure
manipulation */