Sha256: d6063d09a70b08305f271ed8d466b15dd47dcaaf1f8b701e26b490f61af2b1ea

Contents?: true

Size: 1.07 KB

Versions: 4

Compression:

Stored size: 1.07 KB

Contents

#include <Gosu/Input.hpp>
#include <Gosu/TextInput.hpp>

struct Gosu::TextInput::Impl {};
Gosu::TextInput::TextInput() {}
Gosu::TextInput::~TextInput() {}
std::wstring Gosu::TextInput::text() const { return L""; }
void Gosu::TextInput::setText(const std::wstring& text) {}
unsigned Gosu::TextInput::caretPos() const { return 0; }
unsigned Gosu::TextInput::selectionStart() const { return 0; }

struct Gosu::Input::Impl {
};

Gosu::Input::Input() {
}

Gosu::Input::~Input() {
}

wchar_t Gosu::Input::idToChar(Button btn) {
    return 0;
}

Gosu::Button Gosu::Input::charToId(wchar_t ch) {
    return noButton;
}
        
bool Gosu::Input::down(Button btn) const {
    return false;
}

double Gosu::Input::mouseX() const {
    return -1000;
}

double Gosu::Input::mouseY() const {
    return -1000;
}

void Gosu::Input::setMousePosition(double x, double y) {
}

void Gosu::Input::setMouseFactors(double factorX, double factorY) {
}

void Gosu::Input::update() {
}

Gosu::TextInput* Gosu::Input::textInput() const {
    return 0;
}

void Gosu::Input::setTextInput(TextInput* input) {
    throw "NYI";
}

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
gosu-0.7.22 GosuImpl/InputTouch.mm
gosu-0.7.21 GosuImpl/InputTouch.mm
gosu-0.7.20 GosuImpl/InputTouch.mm
gosu-0.7.19 GosuImpl/InputTouch.mm