Difference between revisions of "JucK file"

From CSWiki
Jump to: navigation, search
(if [layout] is "MANUAL")
m (potential version 3)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
 +
==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==
 
==version 1==
  
Line 8: Line 53:
 
  RADIO [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]
 
  LISTBOX [title] [number of items] [list of items...] [orientation]
DROPBOX [title] [number of items] [list of items...]
 
  
 
* [title] - unique to the file
 
* [title] - unique to the file
Line 17: 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 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] [width] [height]
 
RADIO [title] [number of items] [list of items...] [orientation] [width] [height]
 
LISTBOX [title] [number of items] [list of items...] [orientation] [width] [height]
 
DROPBOX [title] [number of items] [list of items...] [width] [height]
 
TEXTBOX [title] [width] [height]
 
2DCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [width] [height]
 
 
=== if [layout] is "MANUAL" ===
 
 
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [width] [height] [x] [y]
 
CHECKBOX [title] [number of items] [list of items...] [orientation] [width] [height] [x] [y]
 
RADIO [title] [number of items] [list of items...] [orientation] [width] [height] [x] [y]
 
LISTBOX [title] [number of items] [list of items...] [orientation] [width] [height] [x] [y]
 
DROPBOX [title] [number of items] [list of items...] [width] [height] [x] [y]
 
TEXTBOX [title] [width] [height] [x] [y]
 
2DCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [width] [height] [x] [y]
 

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)