coneneko.sdlwindow



class SdlWindow: coneneko.scenegraph.Window;
できるだけautoで

this(uint width = cast(uint)640, uint height = cast(uint)480);


class SdlEvent: coneneko.scenegraph.Event;


bool isReached(SDL_Event e);


class SdlClickEventBase: coneneko.sdlwindow.SdlEvent;


this(int x, int y, int width, int height, ubyte button, void delegate() onClick);


class SdlClickEvent: coneneko.sdlwindow.SdlClickEventBase, coneneko.units.VirtualSizeUnit;


this(int x, int y, int width, int height, void delegate() onClick = null);


static void toReal(int x, int y, int width, int height, out int rx, out int ry, out int rwidth, out int rheight);


class SdlRightClickEvent: coneneko.sdlwindow.SdlClickEventBase, coneneko.units.VirtualSizeUnit;


this(int x, int y, int width, int height, void delegate() onClick = null);


class SdlKeyEvent: coneneko.sdlwindow.SdlEvent;


this(int sym, int keyType);


class SdlKeyDownEvent: coneneko.sdlwindow.SdlKeyEvent;
97 == 'a' CapsLockの影響を受けない

this(int sym);


class SdlKeyUpEvent: coneneko.sdlwindow.SdlKeyEvent;


this(int sym);


class SdlButtonEventFactory: coneneko.exunits.ButtonEventFactory;


this(SdlWindow wnd);


class SdlCamera: coneneko.sdlwindow.SdlEvent, coneneko.scenegraph.Unit;


this();


class SdlSoundEffect;


final char[] fileName;


this(char[] fileName, bool loop);


void stop();


bool playing();


class SdlSoundMixer;


static void close();
サウンドリソース開放

char[] musicFileName;


int playSoundEffect(char[] fileName, bool loop);


void playMusic(char[] fileName);


void stopMusic();


class SdlJoystickEvent: coneneko.sdlwindow.SdlEvent;


this();


class SdlJoystickRightEvent: coneneko.sdlwindow.SdlJoystickEvent;


class SdlJoystickLeftEvent: coneneko.sdlwindow.SdlJoystickEvent;


class SdlJoystickUpEvent: coneneko.sdlwindow.SdlJoystickEvent;


class SdlJoystickDownEvent: coneneko.sdlwindow.SdlJoystickEvent;


class SdlJoystickButtonEvent: coneneko.sdlwindow.SdlJoystickEvent;


this(uint buttonId);



Page generated by Ddoc.