Blender  V3.3
Functions | Variables
MOD_gpenciltime.c File Reference
#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
 

Function Documentation

◆ copyData()

static void copyData ( const GpencilModifierData md,
GpencilModifierData target 
)
static

Definition at line 43 of file MOD_gpenciltime.c.

References BKE_gpencil_modifier_copydata_generic().

◆ custom_range_header_draw()

static void custom_range_header_draw ( const bContext UNUSEDC,
Panel panel 
)
static

◆ custom_range_panel_draw()

static void custom_range_panel_draw ( const bContext UNUSEDC,
Panel panel 
)
static

◆ initData()

static void initData ( GpencilModifierData md)
static

◆ mask_panel_draw()

static void mask_panel_draw ( const bContext UNUSEDC,
Panel panel 
)
static

Definition at line 213 of file MOD_gpenciltime.c.

References gpencil_modifier_masking_panel_draw().

Referenced by panelRegister().

◆ panel_draw()

static void panel_draw ( const bContext UNUSEDC,
Panel panel 
)
static

◆ panelRegister()

static void panelRegister ( ARegionType region_type)
static

◆ remapTime()

static int remapTime ( struct GpencilModifierData md,
struct Depsgraph UNUSEDdepsgraph,
struct Scene scene,
struct Object UNUSEDob,
struct bGPDlayer gpl,
int  cfra 
)
static

Variable Documentation

◆ modifierType_Gpencil_Time

GpencilModifierTypeInfo modifierType_Gpencil_Time
Initial value:
= {
N_("TimeOffset"),
"TimeGpencilModifierData",
}
@ eGpencilModifierTypeFlag_NoApply
@ eGpencilModifierTypeType_Gpencil
struct TimeGpencilModifierData TimeGpencilModifierData
static int remapTime(struct GpencilModifierData *md, struct Depsgraph *UNUSED(depsgraph), struct Scene *scene, struct Object *UNUSED(ob), struct bGPDlayer *gpl, int cfra)
static void copyData(const GpencilModifierData *md, GpencilModifierData *target)
static void panelRegister(ARegionType *region_type)
static void initData(GpencilModifierData *md)
#define N_(msgid)

Definition at line 232 of file MOD_gpenciltime.c.