Sha256: 186ee038160632e61f5b6db8a67ef7993403702b9672d6b4123e9e814eaac8f4

Contents?: true

Size: 1.59 KB

Versions: 4

Compression:

Stored size: 1.59 KB

Contents

#ifndef GLFW_RB_H
#define GLFW_RB_H 1

#include "common.h"
#include "window.h"
#include "monitor.h"
#include "image.h"
#include "cursor.h"
#include "video_mode.h"
#include "vulkan.h"

void rb_glfw_error_callback(int error, const char *message);
void rb_glfw_monitor_callback(GLFWmonitor *monitor, int connected);
void rb_glfw_joystick_callback(int joystick, int connected);

VALUE rb_glfw_init(VALUE klass);
VALUE rb_glfw_terminate(VALUE klass);
VALUE rb_glfw_poll_events(VALUE klass);
VALUE rb_glfw_wait_events(VALUE klass);
VALUE rb_glfw_get_time(VALUE klass);
VALUE rb_glfw_set_time(VALUE klass, VALUE t);
VALUE rb_glfw_swap_interval(VALUE klass, VALUE interval);
VALUE rb_glfe_event_timeout(VALUE klass, VALUE timeout);
VALUE rb_glfw_current_context(VALUE klass);
VALUE rb_glfw_supported_p(VALUE klass, volatile VALUE extension);
VALUE rb_glfw_monitors(VALUE klass);
VALUE rb_glfw_load_default_hints(VALUE klass);
VALUE rb_glfw_window_hint(VALUE klass, VALUE hint, VALUE value);
VALUE rb_glfw_key_name(VALUE klass, VALUE key, VALUE scancode);
VALUE rb_glfw_post_empty(VALUE klass);
VALUE rb_glfw_timer_frequency(VALUE klass);
VALUE rb_glfw_timer_value(VALUE klass);
VALUE rb_glfw_joystick_p(VALUE klass, VALUE joystick);
VALUE rb_glfw_joystick_name(VALUE klass, VALUE joystick);
VALUE rb_glfw_joystick_axes(VALUE klass, VALUE joystick);
VALUE rb_glfw_joystick_buttons(VALUE klass, VALUE joystick);
VALUE rb_glfw_monitor_changed(VALUE klass, VALUE monitor, VALUE connected);
VALUE rb_glfw_joystick_changed(VALUE klass, VALUE joystick, VALUE connected);
VALUE rb_glfw_proc_address(VALUE klass, VALUE name);

#endif /* GLFW_RB_H */

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
glfw-1.0.3 ext/glfw/glfw.h
glfw-1.0.2 ext/glfw/glfw.h
glfw-1.0.1 ext/glfw/glfw.h
glfw-0.9.8 ext/glfw/glfw.h