Aurore
A Switch-like interface for your app, on every screen
Loading...
Searching...
No Matches
version_badge.hpp
Go to the documentation of this file.
1
// VersionBadge — the running version, next to every screen's title.
2
// A release: its version in a grey tag ("1.2.0"). Any other build (main, a
3
// pull request, a local one): the version in an amber tag, then the commit
4
// ("1.2.0 1a2b3c4"), so a development build is never taken for the published
5
// one, on the console or in a screenshot.
6
// Copyright (C) 2026 JigSawFr. GPLv3-or-later (see LICENSE.GPL).
7
#pragma once
8
9
#include <
aurore.hpp
>
10
13
class
VersionBadge
:
public
aurore::Box
14
{
15
public
:
16
VersionBadge
();
17
20
static
void
install
();
21
25
static
aurore::Box
*
header_tools
(
aurore::AppletFrame
*
frame
);
26
};
aurore.hpp
VersionBadge
Definition
version_badge.hpp:14
VersionBadge::VersionBadge
VersionBadge()
VersionBadge::install
static void install()
VersionBadge::header_tools
static aurore::Box * header_tools(aurore::AppletFrame *frame)
aurore::AppletFrame
Definition
applet_frame.hpp:39
aurore::Box
Generic FlexBox layout.
Definition
box.hpp:74
aurore::View::frame
virtual void frame(FrameContext *ctx)
aurore
cadran
view
version_badge.hpp
Generated by
1.9.8