mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-04 22:10:44 +09:00
Draw and event position relative to parent (for pages)
This commit is contained in:
15
include/gui/StaticPage.hpp
Normal file
15
include/gui/StaticPage.hpp
Normal file
@@ -0,0 +1,15 @@
|
||||
#pragma once
|
||||
|
||||
#include "Page.hpp"
|
||||
|
||||
namespace gsr {
|
||||
class StaticPage : public Page {
|
||||
public:
|
||||
StaticPage() = default;
|
||||
StaticPage(const StaticPage&) = delete;
|
||||
StaticPage& operator=(const StaticPage&) = delete;
|
||||
|
||||
bool on_event(mgl::Event &event, mgl::Window &window, mgl::vec2f offset) override;
|
||||
void draw(mgl::Window &window, mgl::vec2f offset) override;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user