Difference between revisions of "DataGrid DesignObj"

From LinuxMCE
Jump to: navigation, search
(Initial content.)
 
m
Line 1: Line 1:
 +
{| align="right"
 +
  | __TOC__
 +
  |}
 
The DataGrid DesignObj has a variety of options that can be used in HADesigner. Most of them are self explanatory, however, some of them, I am needing to dig through Orbiter.cpp to gather the meaning:
 
The DataGrid DesignObj has a variety of options that can be used in HADesigner. Most of them are self explanatory, however, some of them, I am needing to dig through Orbiter.cpp to gather the meaning:
  
== DesignObj Parameters ===
+
== DesignObj Parameters ==
  
 
Shown below are the designObj parameters.. Hopefully most of these make sense, and are kept here for reference.
 
Shown below are the designObj parameters.. Hopefully most of these make sense, and are kept here for reference.

Revision as of 13:44, 4 July 2008

The DataGrid DesignObj has a variety of options that can be used in HADesigner. Most of them are self explanatory, however, some of them, I am needing to dig through Orbiter.cpp to gather the meaning:

DesignObj Parameters

Shown below are the designObj parameters.. Hopefully most of these make sense, and are kept here for reference.

Number of Columns

The number of columns that will be shown inside the container. This is independent of the size of the data grid container itself on the parent designobj.

Number of Rows

The number of rows that will be shown inside the container. This is independent of the size of the data grid container itself on the parent designobj.

Fixed Row Height

This is the size in pixels of the size of each row. 150 is a good size.

Fixed Column Width

This is the size in pixels of the size of each column.

Row Spacing

The number of pixels between each row.

Column Spacing

The Number of pixels between each column.

First Row Height

The Height in pixels of the first row.

First Column Width

The Width in pixels of the first column.

Keep Row Header

Boolean value (0 for false, 1 for true), specifying that the first row should remain visible between page scrolls (makes most sense with RP)

Keep Column Header

Boolean value (0 for false, 1 for true), specifying that the first column should remain visible between page scrolls.

Initial Column Number

The Initial column number, starting from 0, to display on load.

Initial Row Number

The Initial row number, starting from 0 to display on load.

Is Multi Select

Boolean value (0 for false, 1 for true), specifying that multiple cells in the data grid can be selected.

PK_Variable

Use this variable # to store the activated cell, or cell selections (if multi select is 1). Look at the Variable table.

Data Grid ID

not sure how this is used exactly. PLEASE FILL ME IN (FILLMEIN)

Cycle Grid

...dunno, look more into this. (FILLMEIN)

Options

Usually some really funky stuff in here.. look at how this is parsed in Orbiter.cpp! (FILLMEIN)

Extra Info

Takes a set of letters in any order that specify the way the DataGrid is rendered.

What i've currently found:

  • R = When a row is selected, highlight the entire row.
  • C = When a Column is selected, highlight the entire column
  • P = Add Page Up/Page Down data grid entries (i.e. RP is used in the playlists on the standard orbiters)
  • S = Add Spinning Cube scrolling functionality for UI2 (RS is used on playlists on UI2 On Screen Orbiters)


PK_Datagrid

References the data grid # in the DataGrid table. This is paired up with the DataGrid generator hook that is used to link a data source to the right data grid in designer.

PK_Style

The Style of each cell (see Style table)

PK_Style_FirstRow

The Style of the first row

... to be continued ...