summaryrefslogtreecommitdiffstats
path: root/Lib/plat-irix5/FL.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1991-11-12 15:33:59 (GMT)
committerGuido van Rossum <guido@python.org>1991-11-12 15:33:59 (GMT)
commit5f5b137017c4b5909a0a9dc95ab51ed9d638493c (patch)
tree6fe7e7738ae749d98ad1817626364b713075849f /Lib/plat-irix5/FL.py
parenteda5dfd7c83274cfbf0031fa0cf37324fc9b54a4 (diff)
downloadcpython-5f5b137017c4b5909a0a9dc95ab51ed9d638493c.zip
cpython-5f5b137017c4b5909a0a9dc95ab51ed9d638493c.tar.gz
cpython-5f5b137017c4b5909a0a9dc95ab51ed9d638493c.tar.bz2
Added new constants (some? all?) for FORMS version 1.5.
Diffstat (limited to 'Lib/plat-irix5/FL.py')
-rwxr-xr-xLib/plat-irix5/FL.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/Lib/plat-irix5/FL.py b/Lib/plat-irix5/FL.py
index 4387921..ba01d56 100755
--- a/Lib/plat-irix5/FL.py
+++ b/Lib/plat-irix5/FL.py
@@ -1,3 +1,7 @@
+# Constants used by the FORMS library (module fl).
+# This corresponds to "forms.h".
+# Recommended use: import FL; ... FL.NORMAL_BOX ... etc.
+
NULL = 0
FALSE = 0
TRUE = 1
@@ -28,6 +32,9 @@ FLAT_BOX = 3
BORDER_BOX = 4
SHADOW_BOX = 5
FRAME_BOX = 6
+ROUNDED_BOX = 7
+RFLAT_BOX = 8
+RSHADOW_BOX = 9
TOP_BOUND_COL = 51
LEFT_BOUND_COL = 55
BOT_BOUND_COL = 40
@@ -51,6 +58,7 @@ FONT_NAME = 'Helvetica'
FONT_BOLDNAME = 'Helvetica-Bold'
FONT_ITALICNAME = 'Helvetica-Oblique'
FONT_FIXEDNAME = 'Courier'
+FONT_ICONNAME = 'Icon'
SMALL_FONT = 8.0
NORMAL_FONT = 11.0
LARGE_FONT = 20.0
@@ -59,6 +67,7 @@ BOLD_STYLE = 1
ITALIC_STYLE = 2
FIXED_STYLE = 3
ENGRAVED_STYLE = 4
+ICON_STYLE = 5
BITMAP = 3
NORMAL_BITMAP = 0
BITMAP_BOXTYPE = NO_BOX
@@ -208,6 +217,8 @@ VERT_SLIDER = 0
HOR_SLIDER = 1
VERT_FILL_SLIDER = 2
HOR_FILL_SLIDER = 3
+FL_VERT_NICE_SLIDER = 4
+FL_HOR_NICE_SLIDER = 5
SLIDER_BOXTYPE = DOWN_BOX
SLIDER_COL1 = COL1
SLIDER_COL2 = COL1