Forge: defines.h File Reference

Forge

- Main Page
- Namespaces
- Data Structures
- Files

- File List
- Globals

Namespaces | Macros | Enumerations | Functions
defines.h File Reference
`#include <stdbool.h>`
`#include <fg/version.h>`
`#include <GL/glew.h>`

Go to the source code of this file.

## Namespaces
| fg

## Macros
#define | FGAPI __attribute__((visibility("default")))
#define | __PRETTY_FUNCTION__ __func__
#define | FG_STATIC_
#define | FG_API_VERSION FG_API_VERSION_CURRENT

## Enumerations
enum | ErrorCode { FG_SUCCESS = 0, FG_ERR_SIZE = 1001, FG_ERR_INVALID_TYPE = 1002, FG_ERR_INVALID_ARG = 1003, FG_ERR_GL_ERROR = 2001, FG_ERR_FREETYPE_ERROR = 3001, FG_ERR_FILE_NOT_FOUND = 4001, FG_ERR_NOT_SUPPORTED = 5001, FG_ERR_NOT_CONFIGURED = 5002, FG_ERR_INTERNAL = 9001, FG_ERR_RUNTIME = 9002, FG_ERR_UNKNOWN = 9003 }
enum | ChannelFormat { FG_GRAYSCALE = 100, FG_RG = 200, FG_RGB = 300, FG_BGR = 301, FG_RGBA = 400, FG_BGRA = 401 }
enum | ColorMap { FG_DEFAULT_MAP = 0, FG_SPECTRUM_MAP = 1, FG_COLORS_MAP = 2, FG_RED_MAP = 3, FG_MOOD_MAP = 4, FG_HEAT_MAP = 5, FG_BLUE_MAP = 6 }
| Color maps. More...
enum | Color { FG_RED = 0xFF0000FF, FG_GREEN = 0x00FF00FF, FG_BLUE = 0x0000FFFF, FG_YELLOW = 0xFFFF00FF, FG_CYAN = 0x00FFFFFF, FG_MAGENTA = 0xFF00FFFF, FG_WHITE = 0xFFFFFFFF, FG_BLACK = 0x000000FF }
enum | dtype { s8 = 0, u8 = 1, s32 = 2, u32 = 3, f32 = 4, s16 = 5, u16 = 6 }
enum | PlotType { FG_LINE = 0, FG_SCATTER = 1, FG_SURFACE = 2 }
enum | MarkerType { FG_NONE = 0, FG_POINT = 1, FG_CIRCLE = 2, FG_SQUARE = 3, FG_TRIANGLE = 4, FG_CROSS = 5, FG_PLUS = 6, FG_STAR = 7 }

## Functions
GLEWContext * | glewGetContext ()
| Requirment by GLEWmx. More...

## Macro Definition Documentation

#define __PRETTY_FUNCTION__ __func__

#define FG_API_VERSION FG_API_VERSION_CURRENT

#define FG_STATIC_

#define FGAPI __attribute__((visibility("default")))

## Function Documentation

GLEWContext* glewGetContext | ( |  | ) |

Requirment by GLEWmx.