diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 16:52:00 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-03-01 16:53:39 +0300 |
commit | 33b03f7f68922efada6ec7518c4fa60e9acb620a (patch) | |
tree | 369a3c221b204ea027337c94c523994b10c617d9 /source/blender/editors/include | |
parent | 3804636ee57b58c0ca02dd5360f6df62603ae929 (diff) |
Cleanup: move theme reset into it's own operator file
Diffstat (limited to 'source/blender/editors/include')
-rw-r--r-- | source/blender/editors/include/ED_userpref.h | 26 | ||||
-rw-r--r-- | source/blender/editors/include/UI_interface.h | 4 |
2 files changed, 30 insertions, 0 deletions
diff --git a/source/blender/editors/include/ED_userpref.h b/source/blender/editors/include/ED_userpref.h new file mode 100644 index 00000000000..29470608933 --- /dev/null +++ b/source/blender/editors/include/ED_userpref.h @@ -0,0 +1,26 @@ +/* + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software Foundation, + * Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + */ + +/** \file + * \ingroup editors + */ + +#ifndef __ED_USERPREF_H__ +#define __ED_USERPREF_H__ + +void ED_operatortypes_userpref(void); + +#endif /* __ED_USERPREF_H__ */ diff --git a/source/blender/editors/include/UI_interface.h b/source/blender/editors/include/UI_interface.h index 79f80c67a1a..9c771994c4b 100644 --- a/source/blender/editors/include/UI_interface.h +++ b/source/blender/editors/include/UI_interface.h @@ -1402,6 +1402,10 @@ void UI_widgetbase_draw_cache_begin(void); void UI_widgetbase_draw_cache_flush(void); void UI_widgetbase_draw_cache_end(void); +/* Use for resetting the theme. */ +void UI_theme_init_default(void); +void UI_style_init_default(void); + /* Special drawing for toolbar, mainly workarounds for inflexible icon sizing. */ #define USE_UI_TOOLBAR_HACK |