output: add gammaSize query to output

This commit is contained in:
Vaxry 2024-06-22 17:40:21 +02:00
parent 03ed93e8b5
commit edbec62fbd
2 changed files with 10 additions and 5 deletions

View file

@ -99,6 +99,7 @@ namespace Aquamarine {
virtual void moveCursor(const Hyprutils::Math::Vector2D& coord); // includes the hotspot virtual void moveCursor(const Hyprutils::Math::Vector2D& coord); // includes the hotspot
virtual Hyprutils::Math::Vector2D maxCursorSize(); // -1, -1 means no limit, 0, 0 means error virtual Hyprutils::Math::Vector2D maxCursorSize(); // -1, -1 means no limit, 0, 0 means error
virtual void scheduleFrame(); virtual void scheduleFrame();
virtual size_t getGammaSize();
std::string name, description, make, model, serial; std::string name, description, make, model, serial;
Hyprutils::Math::Vector2D physicalSize; Hyprutils::Math::Vector2D physicalSize;

View file

@ -27,6 +27,10 @@ Hyprutils::Math::Vector2D Aquamarine::IOutput::maxCursorSize() {
return {}; // error return {}; // error
} }
size_t Aquamarine::IOutput::getGammaSize() {
return 0;
}
const Aquamarine::COutputState::SInternalState& Aquamarine::COutputState::state() { const Aquamarine::COutputState::SInternalState& Aquamarine::COutputState::state() {
return internalState; return internalState;
} }