diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-09-17 23:46:41 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2014-09-17 23:46:41 +0200 |
| commit | 8846646f54a3740d272387511b91c3d3e5ae3283 (patch) | |
| tree | 7af82c3257f713d7e048a9c920ea778d1fc032d5 /src/replace-table.c | |
| parent | d8708c220afc84549e5e4feaa09f32aa46aba4b5 (diff) | |
| download | cataract-8846646f54a3740d272387511b91c3d3e5ae3283.tar.xz | |
theming: Make navigation bar strongly themed
Navigation bar can be complex and comprises of several different elements.
Until now the navigation bar was almost hardcoded. We needed to separate
different types of navigation bar elements:
* NAV_BAR_FIRST
- the first element, usually denoting gallery root. This element takes
priority and is used when there are no other elements in the path.
* NAV_BAR_ELEM
- normal element used in the path between first and last elements.
* NAV_BAR_LAST
- ending element, guaranteed there's at least the NAV_BAR_FIRST element
before.
* NAV_BAR_CURRENT
- non-clickable informational element displaying the current page title.
Optional, in contrast to the former three defines.
* NAV_BAR_CURRENT_ROOT
- a special case of the latter one, displayed at the very root page.
Also optional, in that case the navigation bar would become empty.
Diffstat (limited to 'src/replace-table.c')
0 files changed, 0 insertions, 0 deletions
