mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-31 03:09:17 -05:00
Updated the reference url's lines
@ -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.
|
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
|
```c
|
||||||
SetConfigFlags(unsigned int flags);
|
SetConfigFlags(unsigned int flags);
|
||||||
SetWindowState(unsigned int flags);
|
SetWindowState(unsigned int flags);
|
||||||
ClearWindowState(unsigned int flags);
|
ClearWindowState(unsigned int flags);
|
||||||
IsWindowState(unsigned int flag);
|
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
|
```c
|
||||||
TraceLog(int logLevel, const char *text, ...);
|
TraceLog(int logLevel, const char *text, ...);
|
||||||
SetTraceLogLevel(int logLevel);
|
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
|
```c
|
||||||
IsKeyPressed(int key);
|
IsKeyPressed(int key);
|
||||||
IsKeyDown(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);
|
SetCameraSmoothZoomControl(int keySmoothZoom);
|
||||||
SetCameraMoveControls(int keyFront, int keyBack, int keyRight, int keyLeft, int keyUp, int keyDown);
|
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
|
```c
|
||||||
IsMouseButtonPressed(int button);
|
IsMouseButtonPressed(int button);
|
||||||
IsMouseButtonDown(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);
|
IsMouseButtonUp(int button);
|
||||||
SetCameraPanControl(int keyPan);
|
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
|
```c
|
||||||
SetMouseCursor(int cursor);
|
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
|
```c
|
||||||
IsGamepadButtonPressed(int gamepad, int button);
|
IsGamepadButtonPressed(int gamepad, int button);
|
||||||
IsGamepadButtonDown(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);
|
IsGamepadButtonUp(int gamepad, int button);
|
||||||
//GetGamepadButtonPressed(void);
|
//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
|
```c
|
||||||
GetGamepadAxisMovement(int gamepad, int axis);
|
GetGamepadAxisMovement(int gamepad, int axis);
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user