Skip to content
Hugo Amnov edited this page Jul 15, 2015 · 3 revisions

The kiUi library is layered by design.

At the lowest level kiUi is an abstract library which takes care of everything save for the input and the rendering : widget hierarchy, event propagation, automatic layout.

This would be the UI back-end, which you need to plug to a front-end, or renderer/input solution.

At the core of kiUi is a fundamental dichotomy between Logic and Appearance :

  • The Widget hierarchy represent the logical elements of the interface, their relations and interactions.
  • The Style objects are responsible for the visual appearance, both layout style and graphic style.

This separation allows for really clean interface code. The logical part only tells you how the interface functions, and the styles, usually put together in a style sheet, tells you how it should look.

The effect of this is that for a given set of widgets (your interface), you can completely and instantly change the appearance just by replacing or modifying the style parameters.

Widgets

Widgets

Layout

Renderer

Styles

Clone this wiki locally