mandelbrot

simple mandelbrot visualizer
Index Commits Files Refs README LICENSE
status.h (556B)
   1 #ifndef __STATUS_H__
   2 #define __STATUS_H__
   3 
   4 typedef enum {
   5     OK = 0,
   6     RUN,
   7     PAUSE,
   8     SORTED,
   9     STOP,
  10     UPDATE,
  11     ERROR_MEMORY_ALLOC,
  12     ERROR_TTF_OPENING_FONT,
  13     ERROR_SDL_FONT_INIT,
  14     ERROR_SDL_INIT,
  15     ERROR_NULL_POINTER,
  16     ERROR_DRW,
  17     START,
  18     RESTART,
  19     WELCOME,
  20     STATUS_MAX
  21 } status_t;
  22 
  23 static char* const status_string[STATUS_MAX] = {
  24     "OK",
  25     "RUN",
  26     "PAUSE",
  27     "SORTED",
  28     "STOP",
  29     "UPDATE",
  30     "ERROR_MEMORY_ALLOC",
  31     "ERROR_TTF_OPENING_FONT",
  32     "ERROR_SDL_FONT_INIT",
  33     "ERROR_SDL_INIT",
  34     "ERROR_NULL_POINTER",
  35     "ERROR_DRW",
  36     "START",
  37     "RESTART",
  38     "WELCOME"
  39 };
  40 
  41 #endif