src/video/windows/SDL_windowsshape.h
author Sam Lantinga
Tue, 08 Feb 2011 16:50:51 -0800
changeset 5229 c015d3e63631
parent 5062 e8916fe9cfc8
child 5535 96594ac5fd1a
permissions -rw-r--r--
Fixed setting the texture unit, still doesn't work.
eligottlieb@4797
     1
/*
eligottlieb@4797
     2
    SDL - Simple DirectMedia Layer
eligottlieb@4797
     3
    Copyright (C) 2010 Eli Gottlieb
eligottlieb@4797
     4
eligottlieb@4797
     5
    This library is free software; you can redistribute it and/or
eligottlieb@4797
     6
    modify it under the terms of the GNU Lesser General Public
eligottlieb@4797
     7
    License as published by the Free Software Foundation; either
eligottlieb@4797
     8
    version 2.1 of the License, or (at your option) any later version.
eligottlieb@4797
     9
eligottlieb@4797
    10
    This library is distributed in the hope that it will be useful,
eligottlieb@4797
    11
    but WITHOUT ANY WARRANTY; without even the implied warranty of
eligottlieb@4797
    12
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
eligottlieb@4797
    13
    Lesser General Public License for more details.
eligottlieb@4797
    14
eligottlieb@4797
    15
    You should have received a copy of the GNU Lesser General Public
eligottlieb@4797
    16
    License along with this library; if not, write to the Free Software
eligottlieb@4797
    17
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
eligottlieb@4797
    18
eligottlieb@4797
    19
    Eli Gottlieb
eligottlieb@4797
    20
    eligottlieb@gmail.com
eligottlieb@4797
    21
*/
eligottlieb@4797
    22
eligottlieb@4797
    23
#include "SDL_config.h"
eligottlieb@4797
    24
slouken@5062
    25
#ifndef _SDL_windowsshape_h
slouken@5062
    26
#define _SDL_windowsshape_h
eligottlieb@4797
    27
eligottlieb@4797
    28
#include "SDL_video.h"
eligottlieb@4797
    29
#include "SDL_shape.h"
eligottlieb@4797
    30
#include "../SDL_sysvideo.h"
eligottlieb@4813
    31
#include "../SDL_shape_internals.h"
eligottlieb@4797
    32
eligottlieb@4797
    33
typedef struct {
eligottlieb@4813
    34
	SDL_ShapeTree *mask_tree;
eligottlieb@4797
    35
} SDL_ShapeData;
eligottlieb@4797
    36
eligottlieb@4797
    37
extern SDL_WindowShaper* Win32_CreateShaper(SDL_Window * window);
egottlieb@4849
    38
extern int Win32_SetWindowShape(SDL_WindowShaper *shaper,SDL_Surface *shape,SDL_WindowShapeMode *shape_mode);
eligottlieb@4797
    39
extern int Win32_ResizeWindowShape(SDL_Window *window);
eligottlieb@4797
    40
slouken@5062
    41
#endif /* _SDL_windowsshape_h */