2025-11-04 18:50:59 +03:30
|
|
|
export module surface.requests;
|
|
|
|
|
import math.vec2;
|
|
|
|
|
import std;
|
2025-09-18 19:15:29 +03:30
|
|
|
|
2025-11-04 18:50:59 +03:30
|
|
|
export namespace lt::surface {
|
2025-09-18 19:15:29 +03:30
|
|
|
|
|
|
|
|
struct ModifyTitleRequest
|
|
|
|
|
{
|
|
|
|
|
std::string title;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct ModifyResolutionRequest
|
|
|
|
|
{
|
|
|
|
|
math::uvec2 resolution;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct ModifyPositionRequest
|
|
|
|
|
{
|
|
|
|
|
math::ivec2 position;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
struct ModifyVisibilityRequest
|
|
|
|
|
{
|
|
|
|
|
bool visible;
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
}; // namespace lt::surface
|