mirror of
https://github.com/brunoherbelin/vimix.git
synced 2025-12-20 06:39:59 +01:00
Implementation of Custom Output area in Window Displays View
Changed the 'Scaled' mode of window draw to allow custom centering and scaling of the output framebuffer in the window. Use DisplaysView to grab handles of the output frame. Save all windows custom output scaling in Settings.
This commit is contained in:
@@ -65,10 +65,13 @@ struct WindowConfig
|
||||
std::string monitor;
|
||||
bool show_pattern;
|
||||
glm::vec4 whitebalance;
|
||||
glm::vec3 scale;
|
||||
glm::vec3 translation;
|
||||
|
||||
WindowConfig() : name(APP_TITLE), x(15), y(15), w(1280), h(720),
|
||||
fullscreen(false), scaled(false), decorated(true),
|
||||
monitor(""), show_pattern(false), whitebalance(glm::vec4(1.f, 1.f, 1.f, 0.5f))
|
||||
monitor(""), show_pattern(false), whitebalance(glm::vec4(1.f, 1.f, 1.f, 0.5f)),
|
||||
scale(glm::vec3(1.f)), translation(glm::vec3(0.f))
|
||||
{ }
|
||||
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user