Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Eisel <eiseljulian@gmail.com>2017-02-01 23:43:59 +0300
committerJulian Eisel <eiseljulian@gmail.com>2017-02-05 18:43:56 +0300
commit1a7eeb4feff0c5b4117010e34fb231c27526590e (patch)
tree9f17d39463b0d53409719bc65e432dd1337d30a5 /GNUmakefile
parent99cfad6a015715a090fa2e1d808196dd1a02b390 (diff)
Initial implementation of a uiTable API
This adds an initial (and already working), generic API for defining, handling and drawing of table UIs. It supports two types of tables: * Vertical flow: Rows are all in a vertical stack. * Horizontal flow: Rows are stacked vertically, until some threshold height is reached. The table is then split into another vertical stack that is drawn next to the former one. Such drawing could be used for the file browser in non-thumbnail mode. A table is built out of - guess what - rows and columns. The API allows defining new collumns (identified by an id-name) and inserting new rows at any point. When drawing, we draw a cell for each column/row combination, using a custom cell-drawing callback. The uiTable API will probably get some support for drawing buttons (uiBut) into custom layouts (uiLayout). The API is written with big data sets in mind. In future we may get a spreadsheet view where data like all vertices of a mesh is displayed. That would result in thousands of rows, the uiTable API should be ready for this.
Diffstat (limited to 'GNUmakefile')
0 files changed, 0 insertions, 0 deletions