JucK file

From CSWiki
Revision as of 19:07, 18 May 2006 by Ylee (talk | contribs) (version 1)

Jump to: navigation, search

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 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]