Class · aurore

aurore::Padding

On this page
aurore/core/box.hpp
#include <aurore/core/box.hpp>

class aurore::Padding : public aurore::View

Description

An empty view that has auto x auto and grow=1.0 to push all the next views in its box to the right (or to the bottom)

Constructors 1

Padding()

Functions 1

virtual void draw(NVGcontext *vg,float x,float y,float width,float height,Style style,FrameContext *ctx) override

Called 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

box.hpp:367

Also the functions of aurore::View (221).

Static functions 1

static View * create()

Read from Aurore's headers by Doxygen at each build · library/include