Package _Framework :: Module LogicalDisplaySegment
[hide private]
[frames] | no frames]

Module LogicalDisplaySegment

source code

Classes [hide private]
  LogicalDisplaySegment
Class representing a specific segment of a display on the controller
Functions [hide private]
 
adjust_string(original, length)
Brings the string to the given length by either removing characters or adding spaces.
source code
Variables [hide private]
  __package__ = None
Function Details [hide private]

adjust_string(original, length)

source code 

Brings the string to the given length by either removing characters or adding spaces. The algorithm is adopted from ede's old implementation for the Mackie.