JucK file

From CSWiki
Revision as of 18:15, 18 May 2006 by Ylee (talk | contribs)

Jump to: navigation, search

version 2

TITLE 
[layout]
(depends on layout)

if [layout] is "panels"

NUM_ROWS NUM_COLUMNS
SLIDER [title] [min] [max] [initial] [interval] [snap] [orientation]
CHECKBOX [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...]
TEXTFIELD [title] [width]
2DCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation]

if [layout] is "manual"

WIDTH HEIGHT NUM_ITEMS
SLIDER [title] [min] [max] [initial] [interval] [snap] [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] 
LISTBOX [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] 
2DCHECKBOX [title] [number of items] [number of rows] [number of columns] [list of items...] [orientation] [x] [y] 
  • [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)
  • [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

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)

potential version 3

  • add width and height manipulation of individual elements