Lugdunum  0.1.0
Surface.inl
Go to the documentation of this file.
1 #if defined(LUG_SYSTEM_WINDOWS) // Win32 surface
2 inline void Surface::setWindowInformations(HINSTANCE hinstance, HWND hwnd) {
3  _hinstance = hinstance;
4  _hwnd = hwnd;
5 }
6 #elif defined(LUG_SYSTEM_LINUX) // Linux surface
7 inline void Surface::setWindowInformations(Display* dpy, ::Window window) {
8  _dpy = dpy;
9  _window = window;
10 }
11 #elif defined(LUG_SYSTEM_ANDROID) // Android Surface
12 inline void Surface::setWindowInformations(ANativeWindow* window) {
13  _window = window;
14 }
15 #endif