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

List of all members.

Public Member Functions

def __init__
def update

Public Attributes

 frameImage
 icon

Detailed Description

Battery dial.

Definition at line 261 of file dial.py.


Constructor & Destructor Documentation

def dial.Battery.__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 from dial.Generic.

Definition at line 266 of file dial.py.


Member Function Documentation

def dial.Battery.update (   self,
  screen,
  angleX 
)
Called to update a Battery dial.
"angleX" is the input.
"screen" is the surface to draw the dial on.

Definition at line 275 of file dial.py.


Member Data Documentation

Reimplemented from dial.Generic.

Definition at line 269 of file dial.py.

Definition at line 269 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