src/video/haiku/SDL_bmodes.h
author Sam Lantinga <slouken@libsdl.org>
Wed, 03 Jan 2018 10:03:25 -0800
changeset 11811 5d94cb6b24d3
parent 10737 3406a0f8b041
child 12082 09999a0e8f9a
permissions -rw-r--r--
Updated copyright for 2018
nathanheisey@5916
     1
/*
nathanheisey@5916
     2
  Simple DirectMedia Layer
slouken@11811
     3
  Copyright (C) 1997-2018 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_BMODES_H
nathanheisey@5916
    23
#define SDL_BMODES_H
nathanheisey@5916
    24
nathanheisey@5921
    25
#ifdef __cplusplus
nathanheisey@5921
    26
extern "C" {
nathanheisey@5921
    27
#endif
nathanheisey@5921
    28
nathanheisey@5921
    29
#include "../SDL_sysvideo.h"
nathanheisey@5921
    30
nathanheisey@5940
    31
extern int32 BE_ColorSpaceToBitsPerPixel(uint32 colorspace);
nathanheisey@5940
    32
extern int32 BE_BPPToSDLPxFormat(int32 bpp);
nathanheisey@5931
    33
nathanheisey@5916
    34
extern int BE_InitModes(_THIS);
nathanheisey@5916
    35
extern int BE_QuitModes(_THIS);
nathanheisey@5921
    36
extern int BE_GetDisplayBounds(_THIS, SDL_VideoDisplay *display,
slouken@7191
    37
    SDL_Rect *rect);
nathanheisey@5921
    38
extern void BE_GetDisplayModes(_THIS, SDL_VideoDisplay *display);
nathanheisey@5921
    39
extern int BE_SetDisplayMode(_THIS, SDL_VideoDisplay *display,
slouken@7191
    40
    SDL_DisplayMode *mode);
nathanheisey@5921
    41
nathanheisey@5921
    42
#ifdef __cplusplus
nathanheisey@5921
    43
}
nathanheisey@5916
    44
#endif
nathanheisey@5921
    45
nathanheisey@5921
    46
#endif
slouken@10690
    47
slouken@10690
    48
/* vi: set ts=4 sw=4 expandtab: */