Cleanup: Move editors headers to C++

See #103343

Pull Request: https://projects.blender.org/blender/blender/pulls/110820
This commit is contained in:
Hans Goudey
2023-08-05 02:57:52 +02:00
committed by Hans Goudey
parent c15d391e86
commit ffe4fbe832
1140 changed files with 2959 additions and 3405 deletions

View File

@@ -9,7 +9,7 @@
*/
#ifndef GPU_STANDALONE
# include "UI_resources.h"
# include "UI_resources.hh"
#endif
#include "GPU_immediate.h"

View File

@@ -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},

View File

@@ -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*/)

View File

@@ -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