10#ifndef SCREENSHOT_WINDOW_H
11#define SCREENSHOT_WINDOW_H
15#include <SDL2/SDL_ttf.h>
100 SDL_Renderer* renderer_;
102 SDL_Texture* textTexture_;
103 SDL_Rect buttonRect_;
104 std::string buttonText_;
Interface for configuration services (forward declaration).
Definition iconfig_service.h:30
Interface for keybind providers (forward declaration).
Definition ikeybind_provider.h:30
Manages the SDL window for screenshot capture UI.
Definition screenshot_window.h:38
SDL_Window * getWindow() const
Gets the SDL window.
Definition screenshot_window.h:94
void render()
Renders the screenshot UI.
Definition screenshot_window.cpp:91
bool initialize(int width, int height)
Initializes the SDL window and renderer.
Definition screenshot_window.cpp:25
~ScreenshotWindow()
Destroys the ScreenshotWindow instance.
Definition screenshot_window.cpp:18
void raiseAndFocus()
Raises and focuses the window.
Definition screenshot_window.cpp:102
void cleanup()
Cleans up SDL resources.
Definition screenshot_window.cpp:120