Cleanup: Move area.c to C++ #105061

Merged
Hans Goudey merged 1 commits from HooglyBoogly/blender:cleanup-area-cpp into main 2023-02-22 14:04:35 +01:00
3 changed files with 193 additions and 192 deletions

View File

@ -24,7 +24,7 @@ set(INC_SYS
)
set(SRC
area.c
area.cc
area_query.c
area_utils.c
glutil.c

View File

@ -11,6 +11,10 @@ struct Main;
struct bContext;
struct bContextDataResult;
#ifdef __cplusplus
extern "C" {
#endif
/* internal exports only */
typedef enum eScreenDir {
@ -50,7 +54,7 @@ typedef enum eScreenAxis {
*/
#define BORDERPADDING ((2.0f * U.dpi_fac) + U.pixelsize)
/* area.c */
/* area.cc */
/**
* We swap spaces for full-screen to keep all allocated data area vertices were set.
@ -182,3 +186,7 @@ void SCREEN_OT_screenshot_area(struct wmOperatorType *ot);
/* workspace_layout_edit.c */
bool workspace_layout_set_poll(const struct WorkSpaceLayout *layout);
#ifdef __cplusplus
}
#endif