src/video/haiku/SDL_bwindow.h
author Ryan C. Gordon <icculus@icculus.org>
Thu, 14 Nov 2013 11:51:24 -0500
changeset 7981 6d538bc1b395
parent 6885 src/video/bwindow/SDL_bwindow.h@700f1b25f77f
child 8149 681eb46b8ac4
permissions -rw-r--r--
Renamed things named after BeOS to be named after Haiku instead.
nathanheisey@5916
     1
/*
nathanheisey@5916
     2
  Simple DirectMedia Layer
slouken@6885
     3
  Copyright (C) 1997-2013 Sam Lantinga <slouken@libsdl.org>
nathanheisey@5916
     4
nathanheisey@5916
     5
  This software is provided 'as-is', without any express or implied
nathanheisey@5916
     6
  warranty.  In no event will the authors be held liable for any damages
nathanheisey@5916
     7
  arising from the use of this software.
nathanheisey@5916
     8
nathanheisey@5916
     9
  Permission is granted to anyone to use this software for any purpose,
nathanheisey@5916
    10
  including commercial applications, and to alter it and redistribute it
nathanheisey@5916
    11
  freely, subject to the following restrictions:
nathanheisey@5916
    12
nathanheisey@5916
    13
  1. The origin of this software must not be misrepresented; you must not
nathanheisey@5916
    14
     claim that you wrote the original software. If you use this software
nathanheisey@5916
    15
     in a product, an acknowledgment in the product documentation would be
nathanheisey@5916
    16
     appreciated but is not required.
nathanheisey@5916
    17
  2. Altered source versions must be plainly marked as such, and must not be
nathanheisey@5916
    18
     misrepresented as being the original software.
nathanheisey@5916
    19
  3. This notice may not be removed or altered from any source distribution.
nathanheisey@5916
    20
*/
nathanheisey@5916
    21
nathanheisey@5916
    22
#ifndef SDL_BWINDOW_H
nathanheisey@5916
    23
#define SDL_BWINDOW_H
nathanheisey@5916
    24
nathanheisey@5916
    25
nathanheisey@5916
    26
#include "../SDL_sysvideo.h"
nathanheisey@5916
    27
nathanheisey@5926
    28
nathanheisey@5916
    29
extern int BE_CreateWindow(_THIS, SDL_Window *window);
nathanheisey@5916
    30
extern int BE_CreateWindowFrom(_THIS, SDL_Window * window, const void *data);
nathanheisey@5916
    31
extern void BE_SetWindowTitle(_THIS, SDL_Window * window);
nathanheisey@5916
    32
extern void BE_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon);
nathanheisey@5916
    33
extern void BE_SetWindowPosition(_THIS, SDL_Window * window);
nathanheisey@5916
    34
extern void BE_SetWindowSize(_THIS, SDL_Window * window);
nathanheisey@5916
    35
extern void BE_ShowWindow(_THIS, SDL_Window * window);
nathanheisey@5916
    36
extern void BE_HideWindow(_THIS, SDL_Window * window);
nathanheisey@5916
    37
extern void BE_RaiseWindow(_THIS, SDL_Window * window);
nathanheisey@5916
    38
extern void BE_MaximizeWindow(_THIS, SDL_Window * window);
nathanheisey@5916
    39
extern void BE_MinimizeWindow(_THIS, SDL_Window * window);
nathanheisey@5916
    40
extern void BE_RestoreWindow(_THIS, SDL_Window * window);
icculus@6422
    41
extern void BE_SetWindowBordered(_THIS, SDL_Window * window, SDL_bool bordered);
nathanheisey@5916
    42
extern void BE_SetWindowFullscreen(_THIS, SDL_Window * window, SDL_VideoDisplay * display, SDL_bool fullscreen);
nathanheisey@5916
    43
extern int BE_SetWindowGammaRamp(_THIS, SDL_Window * window, const Uint16 * ramp);
nathanheisey@5916
    44
extern int BE_GetWindowGammaRamp(_THIS, SDL_Window * window, Uint16 * ramp);
slouken@6662
    45
extern void BE_SetWindowGrab(_THIS, SDL_Window * window, SDL_bool grabbed);
nathanheisey@5916
    46
extern void BE_DestroyWindow(_THIS, SDL_Window * window);
nathanheisey@5916
    47
extern SDL_bool BE_GetWindowWMInfo(_THIS, SDL_Window * window,
nathanheisey@5916
    48
                                    struct SDL_SysWMinfo *info);
nathanheisey@5916
    49
nathanheisey@5922
    50
nathanheisey@5916
    51
nathanheisey@5916
    52
#endif
nathanheisey@5916
    53