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