|
|
@ -3,19 +3,19 @@ raylib provides some enumerated types to be used in some functions. You probably |
|
|
|
Here it is the list with the provided enums and the functions intended to use them. |
|
|
|
|
|
|
|
|
|
|
|
[`enum ConfigFlags`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L480) |
|
|
|
[`enum ConfigFlags`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L541) |
|
|
|
```c |
|
|
|
SetConfigFlags(unsigned int flags); |
|
|
|
SetWindowState(unsigned int flags); |
|
|
|
ClearWindowState(unsigned int flags); |
|
|
|
IsWindowState(unsigned int flag); |
|
|
|
``` |
|
|
|
[`enum TraceLogLevel`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L498) |
|
|
|
[`enum TraceLogLevel`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L562) |
|
|
|
```c |
|
|
|
TraceLog(int logLevel, const char *text, ...); |
|
|
|
SetTraceLogLevel(int logLevel); |
|
|
|
``` |
|
|
|
[`enum KeyboardKey`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L512) |
|
|
|
[`enum KeyboardKey`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L576) |
|
|
|
```c |
|
|
|
IsKeyPressed(int key); |
|
|
|
IsKeyDown(int key); |
|
|
@ -27,7 +27,7 @@ Here it is the list with the provided enums and the functions intended to use th |
|
|
|
SetCameraSmoothZoomControl(int keySmoothZoom); |
|
|
|
SetCameraMoveControls(int keyFront, int keyBack, int keyRight, int keyLeft, int keyUp, int keyDown); |
|
|
|
``` |
|
|
|
[`enum MouseButton`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L632) |
|
|
|
[`enum MouseButton`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L699) |
|
|
|
```c |
|
|
|
IsMouseButtonPressed(int button); |
|
|
|
IsMouseButtonDown(int button); |
|
|
@ -35,11 +35,11 @@ Here it is the list with the provided enums and the functions intended to use th |
|
|
|
IsMouseButtonUp(int button); |
|
|
|
SetCameraPanControl(int keyPan); |
|
|
|
``` |
|
|
|
[`enum MouseCursor`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L639) |
|
|
|
[`enum MouseCursor`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L710) |
|
|
|
```c |
|
|
|
SetMouseCursor(int cursor); |
|
|
|
``` |
|
|
|
[`enum GamepadButton`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L685) |
|
|
|
[`enum GamepadButton`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L725) |
|
|
|
```c |
|
|
|
IsGamepadButtonPressed(int gamepad, int button); |
|
|
|
IsGamepadButtonDown(int gamepad, int button); |
|
|
@ -47,7 +47,7 @@ Here it is the list with the provided enums and the functions intended to use th |
|
|
|
IsGamepadButtonUp(int gamepad, int button); |
|
|
|
//GetGamepadButtonPressed(void); |
|
|
|
``` |
|
|
|
[`enum GamepadAxis`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L690) |
|
|
|
[`enum GamepadAxis`](https://github.com/raysan5/raylib/blob/master/src/raylib.h#L747) |
|
|
|
```c |
|
|
|
GetGamepadAxisMovement(int gamepad, int axis); |
|
|
|
``` |
|
|
|