Blender
V3.3
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "BLI_utildefines.h"
#include "BLT_translation.h"
#include "DNA_defaults.h"
#include "DNA_gpencil_modifier_types.h"
#include "DNA_gpencil_types.h"
#include "DNA_scene_types.h"
#include "DNA_screen_types.h"
#include "BKE_context.h"
#include "BKE_gpencil_modifier.h"
#include "BKE_screen.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "RNA_access.h"
#include "MOD_gpencil_modifiertypes.h"
#include "MOD_gpencil_ui_common.h"
Go to the source code of this file.
Functions | |
static void | initData (GpencilModifierData *md) |
static void | copyData (const GpencilModifierData *md, GpencilModifierData *target) |
static int | remapTime (struct GpencilModifierData *md, struct Depsgraph *UNUSED(depsgraph), struct Scene *scene, struct Object *UNUSED(ob), struct bGPDlayer *gpl, int cfra) |
static void | panel_draw (const bContext *UNUSED(C), Panel *panel) |
static void | custom_range_header_draw (const bContext *UNUSED(C), Panel *panel) |
static void | custom_range_panel_draw (const bContext *UNUSED(C), Panel *panel) |
static void | mask_panel_draw (const bContext *UNUSED(C), Panel *panel) |
static void | panelRegister (ARegionType *region_type) |
Variables | |
GpencilModifierTypeInfo | modifierType_Gpencil_Time |
|
static |
Definition at line 43 of file MOD_gpenciltime.c.
References BKE_gpencil_modifier_copydata_generic().
Definition at line 181 of file MOD_gpenciltime.c.
References GP_TIME_MODE_FIX, gpencil_modifier_panel_get_property_pointers(), Panel::layout, NULL, ptr, RNA_enum_get(), uiItemR(), and uiLayoutSetActive().
Referenced by panelRegister().
Definition at line 194 of file MOD_gpenciltime.c.
References col, GP_TIME_MODE_FIX, gpencil_modifier_panel_get_property_pointers(), IFACE_, Panel::layout, NULL, ptr, RNA_boolean_get(), RNA_enum_get(), uiItemR(), uiLayoutColumn(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 34 of file MOD_gpenciltime.c.
References BLI_assert, DNA_struct_default_get, MEMCMP_STRUCT_AFTER_IS_ZERO, and MEMCPY_STRUCT_AFTER.
Definition at line 213 of file MOD_gpenciltime.c.
References gpencil_modifier_masking_panel_draw().
Referenced by panelRegister().
Definition at line 152 of file MOD_gpenciltime.c.
References col, GP_TIME_MODE_FIX, gpencil_modifier_panel_end(), gpencil_modifier_panel_get_property_pointers(), IFACE_, Panel::layout, NULL, ptr, RNA_enum_get(), uiItemR(), uiLayoutColumn(), uiLayoutRow(), uiLayoutSetActive(), and uiLayoutSetPropSep().
Referenced by panelRegister().
|
static |
Definition at line 218 of file MOD_gpenciltime.c.
References custom_range_header_draw(), custom_range_panel_draw(), eGpencilModifierType_Time, gpencil_modifier_panel_register(), gpencil_modifier_subpanel_register(), mask_panel_draw(), NULL, and panel_draw().
|
static |
Definition at line 48 of file MOD_gpenciltime.c.
References blender::math::abs(), CLAMP_MIN, TimeGpencilModifierData::efra, RenderData::efra, TimeGpencilModifierData::flag, TimeGpencilModifierData::frame_scale, GP_TIME_CUSTOM_RANGE, GP_TIME_INVERT_LAYER, GP_TIME_INVERT_LAYERPASS, GP_TIME_KEEP_LOOP, GP_TIME_MODE_FIX, GP_TIME_MODE_NORMAL, GP_TIME_MODE_PINGPONG, GP_TIME_MODE_REVERSE, bGPDlayer::info, TimeGpencilModifierData::layer_pass, TimeGpencilModifierData::layername, TimeGpencilModifierData::mode, offset, TimeGpencilModifierData::offset, bGPDlayer::pass_index, Scene::r, scene, TimeGpencilModifierData::sfra, RenderData::sfra, and STREQ.
GpencilModifierTypeInfo modifierType_Gpencil_Time |
Definition at line 232 of file MOD_gpenciltime.c.