Skip to content

Instantly share code, notes, and snippets.

@stevennathaniel
Created September 1, 2011 03:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevennathaniel/1185407 to your computer and use it in GitHub Desktop.
Save stevennathaniel/1185407 to your computer and use it in GitHub Desktop.
Python Module
#
# Common72.py
# GUI Constant Definitions
#
SQUARE = 1
ROUND = 2
ARROW = 3
POINT_DOWN = 0
POINT_UP = 1
POINT_RIGHT = 2
POINT_LEFT = 3
NUT_FLAT = 0
NUT_POINT = 1
STATUS_OFF = 1
STATUS_ON = 2
STATUS_WARN = 3
STATUS_ALARM = 4
STATUS_SET = 5
class DummyClass:
pass
Color = DummyClass()
Color.PANEL = '#545454'
Color.OFF = '#656565'
Color.ON = '#00ff33'
Color.WARN = '#ffcc00'
Color.ALARM = '#ff4422'
Color.BRONZE = '#7e5b41'
Color.CHROME = '#c5c5b8'
Color.BRASS = '#cdb800'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment