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

Public Member Functions

def __init__ (self, parent, rangesize, startFrame, endFrame, sliderStartFrame, sliderEndFrame)
 
def DrawTimeRange (self, dc)
 
def InitBuffer (self)
 
def MainPanelUpdate (self)
 
def OnLeftDown (self, evt)
 
def OnLeftUp (self, evt)
 
def OnMotion (self, evt)
 
def OnPaint (self, evt)
 
def OnSize (self, evt)
 
def SetTimeRangeData (self, startFrame=1, endFrame=24, sliderStartFrame=1, sliderEndFrame=24)
 

Public Attributes

 buffer
 
 curRect
 
 endFrame
 
 frameNum
 
 h
 
 pos
 
 rangeHeight
 
 rangePosX
 
 rangePosY
 
 rangeWidth
 
 sliderEndFrame
 
 sliderStartFrame
 
 startFrame
 
 unitWidth
 

Detailed Description

This is the Time Range Panel.

Constructor & Destructor Documentation

◆ __init__()

def __init__ (   self,
  parent,
  rangesize,
  startFrame,
  endFrame,
  sliderStartFrame,
  sliderEndFrame 
)

Member Function Documentation

◆ DrawTimeRange()

def DrawTimeRange (   self,
  dc 
)

◆ InitBuffer()

def InitBuffer (   self)

◆ MainPanelUpdate()

def MainPanelUpdate (   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 
)

◆ SetTimeRangeData()

def SetTimeRangeData (   self,
  startFrame = 1,
  endFrame = 24,
  sliderStartFrame = 1,
  sliderEndFrame = 24 
)

Member Data Documentation

◆ buffer

buffer

◆ curRect

curRect

◆ endFrame

endFrame

◆ frameNum

frameNum

◆ h

h

◆ pos

pos

◆ rangeHeight

rangeHeight

◆ rangePosX

rangePosX

◆ rangePosY

rangePosY

◆ rangeWidth

rangeWidth

◆ sliderEndFrame

sliderEndFrame

◆ sliderStartFrame

sliderStartFrame

◆ startFrame

startFrame

◆ unitWidth

unitWidth