Renamed things named after BeOS to be named after Haiku instead.
--HG-- rename : src/audio/baudio/SDL_beaudio.cc => src/audio/haiku/SDL_haikuaudio.cc rename : src/audio/baudio/SDL_beaudio.h => src/audio/haiku/SDL_haikuaudio.h rename : src/filesystem/beos/SDL_sysfilesystem.cc => src/filesystem/haiku/SDL_sysfilesystem.cc rename : src/joystick/beos/SDL_bejoystick.cc => src/joystick/haiku/SDL_haikujoystick.cc rename : src/loadso/beos/SDL_sysloadso.c => src/loadso/haiku/SDL_sysloadso.c rename : src/main/beos/SDL_BApp.h => src/main/haiku/SDL_BApp.h rename : src/main/beos/SDL_BeApp.cc => src/main/haiku/SDL_BeApp.cc rename : src/main/beos/SDL_BeApp.h => src/main/haiku/SDL_BeApp.h rename : src/power/beos/SDL_syspower.c => src/power/haiku/SDL_syspower.c rename : src/timer/beos/SDL_systimer.c => src/timer/haiku/SDL_systimer.c rename : src/video/bwindow/SDL_BWin.h => src/video/haiku/SDL_BWin.h rename : src/video/bwindow/SDL_bclipboard.cc => src/video/haiku/SDL_bclipboard.cc rename : src/video/bwindow/SDL_bclipboard.h => src/video/haiku/SDL_bclipboard.h rename : src/video/bwindow/SDL_bevents.cc => src/video/haiku/SDL_bevents.cc rename : src/video/bwindow/SDL_bevents.h => src/video/haiku/SDL_bevents.h rename : src/video/bwindow/SDL_bframebuffer.cc => src/video/haiku/SDL_bframebuffer.cc rename : src/video/bwindow/SDL_bframebuffer.h => src/video/haiku/SDL_bframebuffer.h rename : src/video/bwindow/SDL_bkeyboard.cc => src/video/haiku/SDL_bkeyboard.cc rename : src/video/bwindow/SDL_bkeyboard.h => src/video/haiku/SDL_bkeyboard.h rename : src/video/bwindow/SDL_bmodes.cc => src/video/haiku/SDL_bmodes.cc rename : src/video/bwindow/SDL_bmodes.h => src/video/haiku/SDL_bmodes.h rename : src/video/bwindow/SDL_bopengl.cc => src/video/haiku/SDL_bopengl.cc rename : src/video/bwindow/SDL_bopengl.h => src/video/haiku/SDL_bopengl.h rename : src/video/bwindow/SDL_bvideo.cc => src/video/haiku/SDL_bvideo.cc rename : src/video/bwindow/SDL_bvideo.h => src/video/haiku/SDL_bvideo.h rename : src/video/bwindow/SDL_bwindow.cc => src/video/haiku/SDL_bwindow.cc rename : src/video/bwindow/SDL_bwindow.h => src/video/haiku/SDL_bwindow.h extra : rebase_source : afd5a42647878e283dbee3a666cef2214f0e7941
This commit is contained in:
parent
6608608177
commit
30c46bacc8
45 changed files with 176 additions and 167 deletions
|
@ -348,8 +348,8 @@ extern VideoBootStrap DirectFB_bootstrap;
|
|||
#if SDL_VIDEO_DRIVER_WINDOWS
|
||||
extern VideoBootStrap WINDOWS_bootstrap;
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
extern VideoBootStrap BWINDOW_bootstrap;
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
extern VideoBootStrap HAIKU_bootstrap;
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_PANDORA
|
||||
extern VideoBootStrap PND_bootstrap;
|
||||
|
|
|
@ -65,8 +65,8 @@ static VideoBootStrap *bootstrap[] = {
|
|||
#if SDL_VIDEO_DRIVER_WINDOWS
|
||||
&WINDOWS_bootstrap,
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
&BWINDOW_bootstrap,
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
&HAIKU_bootstrap,
|
||||
#endif
|
||||
#if SDL_VIDEO_DRIVER_PANDORA
|
||||
&PND_bootstrap,
|
||||
|
|
|
@ -43,7 +43,7 @@ extern "C" {
|
|||
#include <be/opengl/GLView.h>
|
||||
#endif
|
||||
#include "SDL_events.h"
|
||||
#include "../../main/beos/SDL_BApp.h"
|
||||
#include "../../main/haiku/SDL_BApp.h"
|
||||
|
||||
|
||||
enum WinCommands {
|
||||
|
@ -349,7 +349,7 @@ class SDL_BWin:public BDirectWindow
|
|||
|
||||
default:
|
||||
/* move it after switch{} so it's always handled
|
||||
that way we keep BeOS feautures like:
|
||||
that way we keep Haiku features like:
|
||||
- CTRL+Q to close window (and other shortcuts)
|
||||
- PrintScreen to make screenshot into /boot/home
|
||||
- etc.. */
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
|
||||
/* BWindow based framebuffer implementation */
|
||||
|
||||
|
@ -92,4 +92,4 @@ SDL_bool BE_HasClipboardText(_THIS) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
|
||||
#include "SDL_bevents.h"
|
||||
|
||||
|
@ -36,4 +36,4 @@ void BE_PumpEvents(_THIS) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
|
||||
#include "SDL_bframebuffer.h"
|
||||
|
||||
|
@ -29,7 +29,7 @@
|
|||
#include "SDL_bmodes.h"
|
||||
#include "SDL_BWin.h"
|
||||
|
||||
#include "../../main/beos/SDL_BApp.h"
|
||||
#include "../../main/haiku/SDL_BApp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -251,4 +251,4 @@ int32 BE_UpdateOnce(SDL_Window *window) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
|
||||
#include <SupportDefs.h>
|
||||
#include <support/UTF8.h>
|
||||
|
@ -185,4 +185,4 @@ void BE_SetKeyState(int32 bkey, int8 state) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
|
||||
#include <AppKit.h>
|
||||
#include <InterfaceKit.h>
|
||||
|
@ -31,7 +31,7 @@
|
|||
#include "SDL_bopengl.h"
|
||||
#endif
|
||||
|
||||
#include "../../main/beos/SDL_BApp.h"
|
||||
#include "../../main/haiku/SDL_BApp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -328,4 +328,4 @@ int BE_SetDisplayMode(_THIS, SDL_VideoDisplay *display, SDL_DisplayMode *mode){
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
|
||||
#include "SDL_bopengl.h"
|
||||
|
||||
|
@ -28,7 +28,7 @@
|
|||
#include <KernelKit.h>
|
||||
#include <OpenGLKit.h>
|
||||
#include "SDL_BWin.h"
|
||||
#include "../../main/beos/SDL_BApp.h"
|
||||
#include "../../main/haiku/SDL_BApp.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
@ -216,4 +216,4 @@ void BE_GL_RebootContexts(_THIS) {
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
@ -119,8 +119,8 @@ BE_CreateDevice(int devindex)
|
|||
return device;
|
||||
}
|
||||
|
||||
VideoBootStrap BWINDOW_bootstrap = {
|
||||
"bwindow", "BDirectWindow graphics",
|
||||
VideoBootStrap HAIKU_bootstrap = {
|
||||
"haiku", "Haiku graphics",
|
||||
BE_Available, BE_CreateDevice
|
||||
};
|
||||
|
||||
|
@ -171,4 +171,4 @@ void BE_VideoQuit(_THIS)
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
|
@ -26,7 +26,7 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#include "../../main/beos/SDL_BeApp.h"
|
||||
#include "../../main/haiku/SDL_BeApp.h"
|
||||
#include "../SDL_sysvideo.h"
|
||||
|
||||
|
|
@ -20,7 +20,7 @@
|
|||
*/
|
||||
#include "SDL_config.h"
|
||||
|
||||
#if SDL_VIDEO_DRIVER_BWINDOW
|
||||
#if SDL_VIDEO_DRIVER_HAIKU
|
||||
#include "../SDL_sysvideo.h"
|
||||
|
||||
#include "SDL_BWin.h"
|
||||
|
@ -122,7 +122,7 @@ void BE_SetWindowTitle(_THIS, SDL_Window * window) {
|
|||
}
|
||||
|
||||
void BE_SetWindowIcon(_THIS, SDL_Window * window, SDL_Surface * icon) {
|
||||
/* FIXME: Icons not supported by BeOs/Haiku */
|
||||
/* FIXME: Icons not supported by Haiku */
|
||||
}
|
||||
|
||||
void BE_SetWindowPosition(_THIS, SDL_Window * window) {
|
||||
|
@ -185,12 +185,12 @@ void BE_SetWindowFullscreen(_THIS, SDL_Window * window,
|
|||
}
|
||||
|
||||
int BE_SetWindowGammaRamp(_THIS, SDL_Window * window, const Uint16 * ramp) {
|
||||
/* FIXME: Not BeOs/Haiku supported */
|
||||
/* FIXME: Not Haiku supported */
|
||||
return -1;
|
||||
}
|
||||
|
||||
int BE_GetWindowGammaRamp(_THIS, SDL_Window * window, Uint16 * ramp) {
|
||||
/* FIXME: Not BeOs/Haiku supported */
|
||||
/* FIXME: Not Haiku supported */
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
@ -220,4 +220,4 @@ SDL_bool BE_GetWindowWMInfo(_THIS, SDL_Window * window,
|
|||
}
|
||||
#endif
|
||||
|
||||
#endif /* SDL_VIDEO_DRIVER_BWINDOW */
|
||||
#endif /* SDL_VIDEO_DRIVER_HAIKU */
|
Loading…
Add table
Add a link
Reference in a new issue