Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
cadran_frame.hpp File Reference
#include <functional>
#include <string>
#include <aurore.hpp>

Go to the source code of this file.

Classes

struct  cadran::PillMode
 

Namespaces

namespace  cadran
 

Enumerations

enum class  cadran::Tone { cadran::OK , cadran::WARN , cadran::DANGER }
 

Functions

void cadran::install_theme ()
 
void cadran::style_header (aurore::AppletFrame *frame, const char *icon, const std::string &text, bool filled, bool with_date)
 
void cadran::install_screens ()
 
void cadran::style_rail (aurore::View *tab_frame)
 
void cadran::apply_rail ()
 
void cadran::style_frame (aurore::AppletFrame *frame, aurore::View *tab_frame)
 Both, for the main screen.
 
bool cadran::is_main_frame (aurore::View *frame)
 
bool cadran::is_standalone_screen (aurore::View *frame)
 
void cadran::set_pill (const std::string &text, const char *icon="check", Tone tone=Tone::OK)
 
void cadran::refresh_pill ()
 The pill again after a mode changed (ui::hooks' pill, read-only).
 
aurore::View * cadran::make_glow (float cx, float cy, float radius, const char *color_key)