Difference between revisions of "JucK file"

From CSWiki
Jump to: navigation, search
m (potential version 3)
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
==version 1==
+
==version 3==
 +
 
 +
see [[JucK_Doc]].
 +
 
 +
==version 2==
  
 
  TITLE  
 
  TITLE  
  NUM_PANELS
+
  [layout]
 +
(depends on layout)
 +
 
 +
=== if [layout] is "panels" ===
 +
 
 
  NUM_ROWS NUM_COLUMNS
 
  NUM_ROWS NUM_COLUMNS
  SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation]
+
  SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation] [width] [height]
 
  CHECKBOX [title] [number of items] [list of items...] [orientation]
 
  CHECKBOX [title] [number of items] [list of items...] [orientation]
  RADIO [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...]
  DROPBOX [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 file
+
* [title] - unique to the element (string)
 
* [min] - min value (int)
 
* [min] - min value (int)
 
* [max] - max value (int)
 
* [max] - max value (int)
Line 16: 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
 +
* [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)
  
==potential version 2==
+
==version 1==
  
 
  TITLE  
 
  TITLE  
  [layout]
+
  NUM_PANELS
 
  NUM_ROWS NUM_COLUMNS
 
  NUM_ROWS NUM_COLUMNS
 
  SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation]
 
  SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation]
Line 27: 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
 +
* [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)

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)