diff options
author | František Dvořák <valtri@users.sourceforge.net> | 2004-01-03 20:23:19 +0000 |
---|---|---|
committer | František Dvořák <valtri@users.sourceforge.net> | 2004-01-03 20:23:19 +0000 |
commit | 2671f204b8b87bb08120ace2d85cf135cc041abb (patch) | |
tree | 75e6f9bab8c2d2fa71ac0a9f62a9a0f7e1e30beb /include | |
parent | 2d85f7f6d875e75129db1757fc4c6317c04e5e5b (diff) | |
download | xine-lib-2671f204b8b87bb08120ace2d85cf135cc041abb.tar.gz xine-lib-2671f204b8b87bb08120ace2d85cf135cc041abb.tar.bz2 |
Move win32_visual_t into xine.h ==> frontends can be compiled out of xine tree.
CVS patchset: 5982
CVS date: 2004/01/03 20:23:19
Diffstat (limited to 'include')
-rw-r--r-- | include/xine.h.in | 34 |
1 files changed, 33 insertions, 1 deletions
diff --git a/include/xine.h.in b/include/xine.h.in index 622016346..72939d0f0 100644 --- a/include/xine.h.in +++ b/include/xine.h.in @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.h.in,v 1.113 2003/12/31 23:29:06 jcdutton Exp $ + * $Id: xine.h.in,v 1.114 2004/01/03 20:23:19 valtri Exp $ * * public xine-lib (libxine) interface and documentation * @@ -53,6 +53,11 @@ extern "C" { #include <sys/time.h> #include <time.h> +#ifdef WIN32 +# include <windows.h> +# include <windowsx.h> +#endif + /* This enables some experimental features. These are not part of the * official libxine API, so use them only, if you absolutely need them. * Although we make efforts to keep even this part of the API as stable @@ -1092,6 +1097,33 @@ typedef struct { } fb_visual_t; +#ifdef WIN32 +/* + * this is the visual data struct any win32 gui should supply + * (pass this to init_video_out_plugin or the xine_load_video_output_plugin + * utility function) + */ + +typedef struct { + + HWND WndHnd; /* handle of window associated with primary surface */ + HINSTANCE HInst; /* handle of windows application instance */ + RECT WndRect; /* rect of window client points translated to screen + * cooridnates */ + int FullScreen; /* is window fullscreen */ + HBRUSH Brush; /* window brush for background color */ + COLORREF ColorKey; /* window brush color key */ + +} win32_visual_t; + +/* + * constants for gui_data_exchange's data_type parameter + */ + +#define GUI_WIN32_MOVED_OR_RESIZED 0 + +#endif /* WIN32 */ + /* * "type" constants for xine_port_send_gui_data(...) */ |