Cleanup: rename eRegionType -> eRegion_Type
Match eSpace_Type.
This commit is contained in:
@@ -4410,7 +4410,7 @@ static void SCREEN_OT_region_context_menu(wmOperatorType *ot)
|
||||
* Animation Step.
|
||||
* \{ */
|
||||
static bool screen_animation_region_supports_time_follow(eSpace_Type spacetype,
|
||||
eRegionType regiontype)
|
||||
eRegion_Type regiontype)
|
||||
{
|
||||
return (regiontype == RGN_TYPE_WINDOW &&
|
||||
ELEM(spacetype, SPACE_SEQ, SPACE_GRAPH, SPACE_ACTION, SPACE_NLA)) ||
|
||||
@@ -4418,7 +4418,7 @@ static bool screen_animation_region_supports_time_follow(eSpace_Type spacetype,
|
||||
}
|
||||
|
||||
static bool match_region_with_redraws(const ScrArea *area,
|
||||
eRegionType regiontype,
|
||||
eRegion_Type regiontype,
|
||||
eScreen_Redraws_Flag redraws,
|
||||
bool from_anim_edit)
|
||||
{
|
||||
|
@@ -650,7 +650,7 @@ enum {
|
||||
|
||||
/* regiontype, first two are the default set */
|
||||
/* Do NOT change order, append on end. Types are hardcoded needed */
|
||||
typedef enum eRegionType {
|
||||
typedef enum eRegion_Type {
|
||||
RGN_TYPE_WINDOW = 0,
|
||||
RGN_TYPE_HEADER = 1,
|
||||
RGN_TYPE_CHANNELS = 2,
|
||||
@@ -668,7 +668,7 @@ typedef enum eRegionType {
|
||||
RGN_TYPE_TOOL_HEADER = 12,
|
||||
|
||||
#define RGN_TYPE_LEN (RGN_TYPE_TOOL_HEADER + 1)
|
||||
} eRegionType;
|
||||
} eRegion_Type;
|
||||
|
||||
/* use for function args */
|
||||
#define RGN_TYPE_ANY -1
|
||||
|
Reference in New Issue
Block a user