Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
theme.hpp File Reference
#include <nanovg.h>
#include <cstdint>
#include <ctime>
#include <initializer_list>
#include <map>
#include <memory>
#include <string>
#include <unordered_map>
#include <vector>

Go to the source code of this file.

Classes

class  aurore::ThemeValues
 
struct  aurore::ThemeBackground
 A variant's background, as a theme file sets it (docs/themes.md) More...
 
struct  aurore::ThemeIcon
 A Cadran icon a theme draws as a picture (icon.<name>, docs/themes.md) More...
 
struct  aurore::ThemePictures
 
struct  aurore::ThemePicture
 A picture of the decorations, as a theme file sets it. More...
 
struct  aurore::ThemeParticles
 A variant's particles, as a theme file sets them (docs/themes.md). More...
 
struct  aurore::ThemeDecor
 A variant's decorations: one picture per area, and particles. More...
 
struct  aurore::ThemeInfo
 A theme file as listThemes() or inspect() read it, without applying it. More...
 
struct  aurore::ThemeInfo::Preview
 A few colours to show it in a picker, per variant it styles. More...
 
class  aurore::Theme
 

Namespaces

namespace  aurore
 

Enumerations

enum class  aurore::ThemeVariant { aurore::LIGHT , aurore::DARK }
 The two sets of colours every theme has: light and dark. More...
 
enum class  aurore::BackgroundFit { aurore::COVER , aurore::CONTAIN , aurore::TILE , aurore::CENTER }
 How a theme's background_image fills the window (background_fit) More...
 
enum class  aurore::ThemeArea {
  aurore::NONE , aurore::HEADER , aurore::SIDEBAR , aurore::DIALOG ,
  aurore::TOP , aurore::BOTTOM
}
 What a decoration picture is drawn in (View::setThemeArea) More...
 
enum class  aurore::ParticleKind {
  aurore::NONE , aurore::SNOW , aurore::LEAVES , aurore::PETALS ,
  aurore::EMBERS , aurore::CONFETTI , aurore::SPARKLES , aurore::HEARTS ,
  aurore::BUBBLES
}
 The particles a theme may draw (particles in a theme file). More...
 
enum class  aurore::ParticleLayer { aurore::BACK , aurore::FRONT }
 

Variables

constexpr int aurore::THEME_AREA_COUNT = 5
 HEADER to BOTTOM.