mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-12-23 20:46:50 +03:00
Expose tree_setup_colours so it can be called from frontends if the system
colour scheme changes. svn path=/trunk/netsurf/; revision=13730
This commit is contained in:
parent
307df869c3
commit
103c8703ec
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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 =
|
||||
|
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user