Updated the reference url's lines

master
D.Sarid 5 个月前
父节点
当前提交
b34336591e
共有 1 个文件被更改,包括 7 次插入7 次删除
  1. +7
    -7
      raylib-enumerated-types.md

+ 7
- 7
raylib-enumerated-types.md

@ -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);
```

正在加载...
取消
保存