Changes:
1. `UNUSED` AND `UNUSED_VARS` -> `/*arg*/`
2. `NULL` -> `nullptr`
3. `Function style cast` for `enums` values
4. `void *` -> `static_cast<T*>`
5. Use standard includes `#include <file.h>` ->`#include <cfile>`
6. Replace designated initializers with member assignment
7. `typdef struct N{...} N; ` -> `struct N{...}`
See: #103343
Pull Request: https://projects.blender.org/blender/blender/pulls/108477
33 lines
633 B
C
33 lines
633 B
C
/* SPDX-FileCopyrightText: 2023 Blender Foundation
|
|
*
|
|
* SPDX-License-Identifier: GPL-2.0-or-later */
|
|
|
|
#pragma once
|
|
|
|
#include "RNA_types.h"
|
|
|
|
struct Main;
|
|
struct Scene;
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef enum {
|
|
IO_AXIS_X = 0,
|
|
IO_AXIS_Y = 1,
|
|
IO_AXIS_Z = 2,
|
|
IO_AXIS_NEGATIVE_X = 3,
|
|
IO_AXIS_NEGATIVE_Y = 4,
|
|
IO_AXIS_NEGATIVE_Z = 5,
|
|
} eIOAxis;
|
|
|
|
extern const EnumPropertyItem io_transform_axis[];
|
|
|
|
void io_ui_forward_axis_update(struct Main *main, struct Scene *scene, struct PointerRNA *ptr);
|
|
void io_ui_up_axis_update(struct Main *main, struct Scene *scene, struct PointerRNA *ptr);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|