23 lines
338 B
C++
23 lines
338 B
C++
|
#pragma once
|
||
|
#ifndef REAL_BUILD
|
||
|
# include "externals.hh"
|
||
|
#endif
|
||
|
|
||
|
|
||
|
struct T_Window
|
||
|
{
|
||
|
T_Window( );
|
||
|
~T_Window( );
|
||
|
|
||
|
void startFrame( __rd__ const bool capture ,
|
||
|
__rd__ ImVec2 const& mouseInitial ) const;
|
||
|
void warpMouse( __rd__ ImVec2 const& pos ) const;
|
||
|
|
||
|
void swap( ) const;
|
||
|
|
||
|
private:
|
||
|
SDL_Window * window;
|
||
|
SDL_GLContext gl;
|
||
|
};
|
||
|
|