Add tooltip for 'record in low-power mode'

This commit is contained in:
dec05eba
2026-01-18 15:25:49 +01:00
parent 74bb6f0070
commit 86424607b7
16 changed files with 225 additions and 8 deletions

View File

@@ -3,6 +3,7 @@
#include "Widget.hpp"
#include <mglpp/graphics/Sprite.hpp>
#include <functional>
namespace gsr {
class Image : public Widget {
@@ -21,6 +22,8 @@ namespace gsr {
void draw(mgl::Window &window, mgl::vec2f offset) override;
mgl::vec2f get_size() override;
std::function<void(bool inside)> on_mouse_move;
private:
mgl::Sprite sprite;
mgl::vec2f size;