Issue #1925 - Remove use of SIDE_BIT{S}_* macros.

This already has an enum in gfx/Types.h
This commit is contained in:
Moonchild 2024-08-01 18:23:03 +02:00 committed by roytam1
commit 8bf61a2f5c
2 changed files with 37 additions and 44 deletions

View file

@ -10,13 +10,6 @@
#define DOT_LENGTH 1 // square
#define DASH_LENGTH 3 // 3 times longer than dot
// some shorthand for side bits
#define SIDE_BIT_TOP (1 << eSideTop)
#define SIDE_BIT_RIGHT (1 << eSideRight)
#define SIDE_BIT_BOTTOM (1 << eSideBottom)
#define SIDE_BIT_LEFT (1 << eSideLeft)
#define SIDE_BITS_ALL (SIDE_BIT_TOP|SIDE_BIT_RIGHT|SIDE_BIT_BOTTOM|SIDE_BIT_LEFT)
#define C_TL NS_CORNER_TOP_LEFT
#define C_TR NS_CORNER_TOP_RIGHT
#define C_BR NS_CORNER_BOTTOM_RIGHT