Difference between revisions of "JucK file"

From CSWiki
Jump to: navigation, search
(if [layout] is "panels")
m (potential version 3)
 
(4 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==version 3==
 +
 +
see [[JucK_Doc]].
 +
 
==version 2==
 
==version 2==
  
Line 11: Line 15:
 
  CHECKBOX [title] [number of items] [list of items...] [orientation]
 
  CHECKBOX [title] [number of items] [list of items...] [orientation]
 
  RADIOBUTTON [title] [number of items] [list of items...] [orientation]
 
  RADIOBUTTON [title] [number of items] [list of items...] [orientation]
LISTBOX [title] [number of items] [list of items...] [orientation]
 
 
  DROPDOWN [title] [number of items] [list of items...]
 
  DROPDOWN [title] [number of items] [list of items...]
 
  TEXTFIELD [title] [width]
 
  TEXTFIELD [title] [width]
  2DCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation]
+
  TWODCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation]
 +
TWODGRID [title] [number of rows] [number of columns] [rows names] [column names] [orientation]
  
 
=== if [layout] is "manual" ===
 
=== if [layout] is "manual" ===
  
 
  WIDTH HEIGHT NUM_ITEMS
 
  WIDTH HEIGHT NUM_ITEMS
  SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [x] [y]  
+
  SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [x] [y] [width] [height]
 
  CHECKBOX [title] [number of items] [list of items...] [orientation] [x] [y]  
 
  CHECKBOX [title] [number of items] [list of items...] [orientation] [x] [y]  
 
  RADIOBUTTON [title] [number of items] [list of items...] [orientation] [x] [y]  
 
  RADIOBUTTON [title] [number of items] [list of items...] [orientation] [x] [y]  
LISTBOX [title] [number of items] [list of items...] [orientation] [x] [y]
 
 
  DROPDOWN [title] [number of items] [list of items...] [x] [y]  
 
  DROPDOWN [title] [number of items] [list of items...] [x] [y]  
 
  TEXTFIELD [title] [width] [x] [y]  
 
  TEXTFIELD [title] [width] [x] [y]  
  2DCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation] [x] [y]  
+
  TWODCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation] [x] [y]
 +
TWODGRID [title] [number of rows] [number of columns] [rows names] [column names] [orientation] [x] [y]  
  
* [title] - unique to the file
+
* [title] - unique to the element (string)
 
* [min] - min value (int)
 
* [min] - min value (int)
 
* [max] - max value (int)
 
* [max] - max value (int)
Line 33: Line 37:
 
* [interval] - distance between ticks (int)
 
* [interval] - distance between ticks (int)
 
* [snap] - whether to snap to tick (bool)
 
* [snap] - whether to snap to tick (bool)
* [orientation] - horizontal or vertical (string)
+
* [orientation] - horizontal or vertical (string).
 +
** For the TwoD items, this determines whether the checkboxes get arranged Left-Right in rows (horizontal), or Top-Bottom (vertical). Also determines label placement
 
* [x] - horizontal distance of this element from the left border of the overall window  
 
* [x] - horizontal distance of this element from the left border of the overall window  
* [y] - vertical distance of this element from the top border of the overall window  
+
* [y] - vertical distance of this element from the top border of the overall window
 +
* [width] - width of subpanel (only for slider)
 +
* [height] - height of subpanel (only for slider)
  
 
==version 1==
 
==version 1==
Line 54: Line 61:
 
* [snap] - whether to snap to tick (bool)
 
* [snap] - whether to snap to tick (bool)
 
* [orientation] - horizontal or vertical (string)
 
* [orientation] - horizontal or vertical (string)
 
==potential version 3==
 
 
* add width and height manipulation of individual elements
 

Latest revision as of 09:05, 8 June 2006

version 3

see JucK_Doc.

version 2

TITLE 
[layout]
(depends on layout)

if [layout] is "panels"

NUM_ROWS NUM_COLUMNS
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [width] [height]
CHECKBOX [title] [number of items] [list of items...] [orientation]
RADIOBUTTON [title] [number of items] [list of items...] [orientation]
DROPDOWN [title] [number of items] [list of items...]
TEXTFIELD [title] [width]
TWODCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation]
TWODGRID [title] [number of rows] [number of columns] [rows names] [column names] [orientation]

if [layout] is "manual"

WIDTH HEIGHT NUM_ITEMS
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [x] [y] [width] [height]
CHECKBOX [title] [number of items] [list of items...] [orientation] [x] [y] 
RADIOBUTTON [title] [number of items] [list of items...] [orientation] [x] [y] 
DROPDOWN [title] [number of items] [list of items...] [x] [y] 
TEXTFIELD [title] [width] [x] [y] 
TWODCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation] [x] [y] 
TWODGRID [title] [number of rows] [number of columns] [rows names] [column names] [orientation] [x] [y] 
  • [title] - unique to the element (string)
  • [min] - min value (int)
  • [max] - max value (int)
  • [initial] - initial value (int)
  • [interval] - distance between ticks (int)
  • [snap] - whether to snap to tick (bool)
  • [orientation] - horizontal or vertical (string).
    • For the TwoD items, this determines whether the checkboxes get arranged Left-Right in rows (horizontal), or Top-Bottom (vertical). Also determines label placement
  • [x] - horizontal distance of this element from the left border of the overall window
  • [y] - vertical distance of this element from the top border of the overall window
  • [width] - width of subpanel (only for slider)
  • [height] - height of subpanel (only for slider)

version 1

TITLE 
NUM_PANELS
NUM_ROWS NUM_COLUMNS
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation]
CHECKBOX [title] [number of items] [list of items...] [orientation]
RADIO [title] [number of items] [list of items...] [orientation]
LISTBOX [title] [number of items] [list of items...] [orientation]
  • [title] - unique to the file
  • [min] - min value (int)
  • [max] - max value (int)
  • [initial] - initial value (int)
  • [interval] - distance between ticks (int)
  • [snap] - whether to snap to tick (bool)
  • [orientation] - horizontal or vertical (string)