Browse Source

Add GLFW_* aliases to Rack-defined GLFW-related macros.

tags/v2.0.0
Andrew Belt 3 years ago
parent
commit
8d86dbbb7d
1 changed files with 8 additions and 0 deletions
  1. +8
    -0
      include/widget/event.hpp

+ 8
- 0
include/widget/event.hpp View File

@@ -31,6 +31,14 @@ Example usage:
*/
#define RACK_HELD 3

// GLFW_* aliases to match GLFW-defined macros
#define GLFW_MOD_CTRL RACK_MOD_CTRL
#define GLFW_MOD_CTRL_NAME RACK_MOD_CTRL_NAME
#define GLFW_MOD_ALT_NAME RACK_MOD_ALT_NAME
#define GLFW_MOD_SHIFT_NAME RACK_MOD_SHIFT_NAME
#define GLFW_MOD_MASK RACK_MOD_MASK
#define GLFW_HELD RACK_HELD


namespace rack {
namespace widget {


Loading…
Cancel
Save