/platform/unix/platform/vars/window.d
http://github.com/wilkie/djehuty · D · 32 lines · 11 code · 8 blank · 13 comment · 0 complexity · bf1e96e13ae37c6c0f6f330ba19bfb67 MD5 · raw file
- /*
- * window.d
- *
- * This module implements the platform specifics for the Window class.
- *
- * Author: Dave Wilkinson
- * Originated: July 25th, 2009
- *
- */
- module platform.vars.window;
- import X = binding.x.Xlib;
- struct WindowPlatformVars {
- // required parameters:
- bool _hasGL; // is a GLWindow
- bool _hasView; // is a Window
- // -----
- X.Window window;
- X.Window wm_parent;
- int wm_x;
- int wm_y;
- //GLXContext ctx;
- //to handle sync issues
- bool destroy_called = false; //true, when window is to be destroyed
- }