XenevaOS
Loading...
Searching...
No Matches
Classes | Macros | Enumerations
paint_types.h File Reference
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
Include dependency graph for paint_types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  PaintPoint
 
struct  PaintRect
 

Macros

#define PAINT_WIN_WIDTH   780
 
#define PAINT_WIN_HEIGHT   540
 
#define CANVAS_X   78
 
#define CANVAS_Y   70
 
#define CANVAS_W   692
 
#define CANVAS_H   420
 
#define MAX_UNDO_LEVELS   8
 
#define COLOR_PALETTE_SIZE   24
 

Enumerations

enum  PaintTool {
  TOOL_PENCIL = 0 , TOOL_BRUSH , TOOL_ERASER , TOOL_FLOOD_FILL ,
  TOOL_LINE , TOOL_RECTANGLE , TOOL_FILLED_RECTANGLE , TOOL_CIRCLE ,
  TOOL_FILLED_CIRCLE , TOOL_EYEDROPPER , TOOL_COUNT
}
 

Macro Definition Documentation

◆ CANVAS_H

#define CANVAS_H   420

◆ CANVAS_W

#define CANVAS_W   692

◆ CANVAS_X

#define CANVAS_X   78

◆ CANVAS_Y

#define CANVAS_Y   70

◆ COLOR_PALETTE_SIZE

#define COLOR_PALETTE_SIZE   24

◆ MAX_UNDO_LEVELS

#define MAX_UNDO_LEVELS   8

◆ PAINT_WIN_HEIGHT

#define PAINT_WIN_HEIGHT   540

◆ PAINT_WIN_WIDTH

#define PAINT_WIN_WIDTH   780

Enumeration Type Documentation

◆ PaintTool

enum PaintTool
Enumerator
TOOL_PENCIL 
TOOL_BRUSH 
TOOL_ERASER 
TOOL_FLOOD_FILL 
TOOL_LINE 
TOOL_RECTANGLE 
TOOL_FILLED_RECTANGLE 
TOOL_CIRCLE 
TOOL_FILLED_CIRCLE 
TOOL_EYEDROPPER 
TOOL_COUNT