Cleanup: Move editors headers to C++
See #103343 Pull Request: https://projects.blender.org/blender/blender/pulls/110820
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
*/
|
||||
|
||||
#ifndef GPU_STANDALONE
|
||||
# include "UI_resources.h"
|
||||
# include "UI_resources.hh"
|
||||
#endif
|
||||
|
||||
#include "GPU_immediate.h"
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "GPU_immediate.h"
|
||||
|
||||
#include "UI_resources.h"
|
||||
#include "UI_resources.hh"
|
||||
|
||||
static const float cube_coords[8][3] = {
|
||||
{-1, -1, -1},
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
|
||||
#include "bmesh.h"
|
||||
|
||||
#include "UI_resources.h"
|
||||
#include "UI_resources.hh"
|
||||
|
||||
extern "C" {
|
||||
Global G;
|
||||
@@ -59,7 +59,7 @@ extern "C" struct ImBuf *IMB_allocImBuf(unsigned int /*x*/,
|
||||
/** \} */
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Stubs of UI_resources.h
|
||||
/** \name Stubs of UI_resources.hh
|
||||
* \{ */
|
||||
|
||||
extern "C" void UI_GetThemeColor4fv(int /*colorid*/, float[4] /*col*/)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
#define BIT_RANGE(x) uint((1 << x) - 1)
|
||||
|
||||
/* 2 bits for corner */
|
||||
/* Attention! Not the same order as in UI_interface.h!
|
||||
/* Attention! Not the same order as in UI_interface.hh!
|
||||
* Ordered by drawing order. */
|
||||
#define BOTTOM_LEFT 0u
|
||||
#define BOTTOM_RIGHT 1u
|
||||
|
||||
Reference in New Issue
Block a user