mirror of
https://github.com/libretro/bsnes-libretro.git
synced 2024-11-27 02:50:32 +00:00
5ba538ee39
* provide actual display device names in ruby::Video::hasMonitors() * macOS: fixed LineEdit::onChange (fixes state manager state naming) * macOS: fixed RadioLabel height to not clip off bottom of radio icons * macOS: fixed RadioLabel initial check states (fixed input settings focus mode options) * macOS: fixed TableViewItem::setSelected (fixes initial selection on settings/tools windows) * macOS: fixed TextEdit geometry (fixed manifest viewer) * macOS: don't allow multiple TableViewItems to be selected in single-selection mode ** (fixes settings/tools windows selecting multiple items via menubar options)
31 lines
715 B
C++
Executable File
31 lines
715 B
C++
Executable File
#include <ruby/ruby.hpp>
|
|
using namespace nall;
|
|
using namespace ruby;
|
|
|
|
#undef deprecated
|
|
#undef mkdir
|
|
#undef noinline
|
|
#undef usleep
|
|
|
|
#if defined(DISPLAY_XORG)
|
|
#include <X11/Xlib.h>
|
|
#include <X11/Xutil.h>
|
|
#include <X11/Xatom.h>
|
|
#include <X11/extensions/Xrandr.h>
|
|
#elif defined(DISPLAY_QUARTZ)
|
|
#include <nall/macos/guard.hpp>
|
|
#include <Cocoa/Cocoa.h>
|
|
#include <Carbon/Carbon.h>
|
|
#include <CoreFoundation/CoreFoundation.h>
|
|
#include <IOKit/IOKitLib.h>
|
|
#include <IOKit/graphics/IOGraphicsLib.h>
|
|
#include <nall/macos/guard.hpp>
|
|
#elif defined(DISPLAY_WINDOWS)
|
|
#define far
|
|
#include <mmsystem.h>
|
|
#endif
|
|
|
|
#include <ruby/video/video.cpp>
|
|
#include <ruby/audio/audio.cpp>
|
|
#include <ruby/input/input.cpp>
|