Panda3D
Public Member Functions | Public Attributes | List of all members
TimeSlider Class Reference
Inheritance diagram for TimeSlider:

Public Member Functions

def __init__ (self, parent, slidersize, sliderStartFrame, sliderEndFrame, curFrame)
 
def DrawFrame (self, dc)
 
def DrawKeys (self, dc)
 
def DrawNumber (self, dc)
 
def DrawTimeSlider (self, dc)
 
def InitBuffer (self)
 
def OnLeftDown (self, evt)
 
def OnLeftUp (self, evt)
 
def OnMotion (self, evt)
 
def OnPaint (self, evt)
 
def OnSize (self, evt)
 
def SetTimeSliderData (self, sliderStartFrame=1, sliderEndFrame=24, curFrame=0)
 

Public Attributes

 buffer
 
 curFrame
 
 curRect
 
 frameNum
 
 h
 
 numbers
 
 points
 
 sliderEndFrame
 
 sliderStartFrame
 
 unitWidth
 

Detailed Description

This is the Time Slider Panel.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  parent,
  slidersize,
  sliderStartFrame,
  sliderEndFrame,
  curFrame 
)

Member Function Documentation

◆ DrawFrame()

def DrawFrame (   self,
  dc 
)

◆ DrawKeys()

def DrawKeys (   self,
  dc 
)

◆ DrawNumber()

def DrawNumber (   self,
  dc 
)

◆ DrawTimeSlider()

def DrawTimeSlider (   self,
  dc 
)

◆ InitBuffer()

def InitBuffer (   self)

◆ OnLeftDown()

def OnLeftDown (   self,
  evt 
)

◆ OnLeftUp()

def OnLeftUp (   self,
  evt 
)

◆ OnMotion()

def OnMotion (   self,
  evt 
)

◆ OnPaint()

def OnPaint (   self,
  evt 
)

◆ OnSize()

def OnSize (   self,
  evt 
)

◆ SetTimeSliderData()

def SetTimeSliderData (   self,
  sliderStartFrame = 1,
  sliderEndFrame = 24,
  curFrame = 0 
)

Member Data Documentation

◆ buffer

buffer

◆ curFrame

curFrame

◆ curRect

curRect

◆ frameNum

frameNum

◆ h

h

◆ numbers

numbers

◆ points

points

◆ sliderEndFrame

sliderEndFrame

◆ sliderStartFrame

sliderStartFrame

◆ unitWidth

unitWidth