mirror of
https://repo.dec05eba.com/gpu-screen-recorder-ui
synced 2026-05-04 22:10:44 +09:00
Add option to change video resolution
This commit is contained in:
@@ -6,6 +6,8 @@
|
||||
#include <mglpp/graphics/Text.hpp>
|
||||
#include <mglpp/graphics/Sprite.hpp>
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace gsr {
|
||||
class CheckBox : public Widget {
|
||||
public:
|
||||
@@ -20,6 +22,8 @@ namespace gsr {
|
||||
|
||||
void set_checked(bool checked, bool animated = false);
|
||||
bool is_checked() const;
|
||||
|
||||
std::function<void(bool checked)> on_changed;
|
||||
private:
|
||||
void apply_animation();
|
||||
mgl::vec2f get_checkbox_size();
|
||||
|
||||
Reference in New Issue
Block a user