Public Member Functions | Public Attributes
dial.Generic Class Reference
Inheritance diagram for dial.Generic:
Inheritance graph
[legend]

List of all members.

Public Member Functions

def __init__
def update

Public Attributes

 frameImage
 image

Detailed Description

Generic Dial. This is built on by other dials.

Definition at line 229 of file dial.py.


Constructor & Destructor Documentation

def dial.Generic.__init__ (   self,
  x = 0,
  y = 0,
  w = 0,
  h = 0 
)
Initialise dial at x,y.
Default size of 300px can be overidden using w,h.

Reimplemented in dial.RfSignal, and dial.Battery.

Definition at line 234 of file dial.py.


Member Function Documentation

def dial.Generic.update (   self,
  screen,
  angleX,
  iconLayer = 0 
)
Called to update a Generic dial.
"angleX" and "angleY" are the inputs.
"screen" is the surface to draw the dial on.

Definition at line 243 of file dial.py.


Member Data Documentation

Reimplemented from dial.Dial.

Reimplemented in dial.RfSignal, and dial.Battery.

Definition at line 237 of file dial.py.

Reimplemented from dial.Dial.

Reimplemented in dial.RfSignal.

Definition at line 237 of file dial.py.


The documentation for this class was generated from the following file:


ric_board
Author(s): RoboTiCan
autogenerated on Fri Oct 27 2017 03:02:31