Class
TabBadge
On this page
#include <aurore/cadran/view/tab_badge.hpp>
class TabBadge : public aurore::ViewDescription
The number of things to do in a tab, an amber disc by its name in the sidebar (or on its icon) and on the row where they are done.
Constructors 1
Functions 3
The sidebar's: open 1 at the right of the name, 0 on the icon's top right corner, smaller, and in between while the rail opens or folds. floating: out of the item's row, for a rail too narrow for it.
virtual void draw( NVGcontext *vg,float x,float y,float width,float height,aurore::Style style,aurore::FrameContext *ctx) overrideCalled by frame() to draw the view onscreen. Views should not draw outside of their bounds (they may be clipped if they do so).
Overrides aurore::View::draw
Also the functions of aurore::View (221).
Static functions 3
static TabBadge * of(aurore::SidebarItem *item) The sidebar item's badge, added the first time it is asked for.
tab_badge.hpp:30static TabBadge * find(aurore::SidebarItem *item) Its badge if it has one yet, else nullptr.
tab_badge.hpp:32static TabBadge * on_row(aurore::Box *row) A row's (a DetailCell: its title, then its value): after the value.
tab_badge.hpp:34Read from Aurore's headers by Doxygen at each build · library/include