1#ifndef LIBS_SDL_CFRAMECOMPONENTSSDL_HPP_
2#define LIBS_SDL_CFRAMECOMPONENTSSDL_HPP_
7#include <SDL2/SDL_video.h>
16 void getSizeScreen(int32_t *xSizeScreen, int32_t *ySizeScreen)
override;
31 void runApplication(std::string_view titleApplication, std::string_view pathIconApplication,
42 SDL_GLContext *contextOpengl);
Definition AbstractFrameComponentsGraphics.hpp:30
Definition CEventGraphics.hpp:9
Definition CFrameComponentsSDL.hpp:11
static EPrvScreen prvHasFullScreen(const std::string &strScreen)
Definition CFrameComponentsSDL.cpp:774
IGraphics * getGraphicsRef() override
Definition CFrameComponentsSDL.cpp:262
void getSizeScreen(int32_t *xSizeScreen, int32_t *ySizeScreen) override
Definition CFrameComponentsSDL.cpp:148
uint64_t m_xSizeScreen
Definition CFrameComponentsSDL.hpp:44
void initApplication(int32_t argc, char **argv) override
Definition CFrameComponentsSDL.cpp:173
void minimizeApplication() override
Definition CFrameComponentsSDL.cpp:180
static SDL_Window * prvInitScreen(uint64_t *sizeScreenX, uint64_t *sizeScreenY, EPrvScreen screen, SDL_GLContext *contextOpengl)
Definition CFrameComponentsSDL.cpp:806
bool hasEvent(CEventGraphics **event) override
Definition CFrameComponentsSDL.cpp:679
EPrvScreen m_type
Definition CFrameComponentsSDL.hpp:47
iv::types::Size screenSize() override
Definition CFrameComponentsSDL.cpp:236
SDL_GLContext m_contextOpengl
Definition CFrameComponentsSDL.hpp:49
std::shared_ptr< iv::ui::graphics::Image > getImage(iv::ui::resources::ImageResource resource) override
Definition CFrameComponentsSDL.cpp:246
void afterFrame() override
Definition CFrameComponentsSDL.cpp:167
CFrameComponentsSDL()
Definition CFrameComponentsSDL.cpp:130
SDL_Window * m_screenWindow
Definition CFrameComponentsSDL.hpp:48
~CFrameComponentsSDL() override
Definition CFrameComponentsSDL.cpp:141
void runApplication(std::string_view titleApplication, std::string_view pathIconApplication, const iv::ui::ApplicationWidgets &applicationWidgets) override
Definition CFrameComponentsSDL.cpp:202
EPrvScreen
Definition CFrameComponentsSDL.hpp:20
uint64_t m_ySizeScreen
Definition CFrameComponentsSDL.hpp:45
IGraphics * m_graphics
Definition CFrameComponentsSDL.hpp:50
void getSizeScreenInit(uint32_t *xSizeScreen, uint32_t *ySizeScreen) override
Definition CFrameComponentsSDL.cpp:251
Definition IGraphics.hpp:20
Definition ImageResource.hpp:15