Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
This repository was archived by the owner on Mar 12, 2022. It is now read-only.
/hxglfwPublic archive

hxglfw is a haxe/hxcpp wrapper around GLFW

License

NotificationsYou must be signed in to change notification settings

ibilon/hxglfw

Repository files navigation

Build Status

API Documentation:https://ibilon.github.io/hxglfw/

hxglfw is a haxe/hxcpp wrapper around GLFW. This is not the C api.

The library isnull safe and compatiblecppia, seecppia_host.hxml andsample.hxml on how to use cppia.

This cover:

  • Monitor querying
  • Window creation
  • Keyboard, Mouse and Gamepad input
  • Support for Linux X11
  • [Planned] Windows/MacOS/Linux wayland support

This doesnot cover OpenGL context creation/manipulation.

If a feature from GLFW you need is missing please open anissue.

Building

hxglfw requires building GLFW, seehttps://www.glfw.org/docs/latest/compile.html#compile_deps for the required dependencies.

Usage

Make sure to clone this repository with--recursive, or download the submodule withgit submodule update --init.

A small example is available insample/:

  • Compile the cppia host withhaxe cppia_host.hxml, this only to be rebuilt if you change/update the hxglfw library
  • Compile the sample withhaxe sample.hxml
  • Run it with./build/cppia_host/CppiaHost-debug build/sample.cppia.

License

This library iszlib licensed, the statically linked GLFW iszlib licensed including its documentation which is reused for this library.


[8]ページ先頭

©2009-2025 Movatter.jp