Skip to content

Commit

Permalink
Update PX_Typedef.h
Browse files Browse the repository at this point in the history
add css color
  • Loading branch information
JarloneRain committed Jun 23, 2023
1 parent bec57e9 commit 9047609
Showing 1 changed file with 144 additions and 0 deletions.
144 changes: 144 additions & 0 deletions core/PX_Typedef.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,150 @@
#define PX_COLOR_BLUE PX_COLOR(255,0,0,255)
#define PX_COLOR_NONE PX_COLOR(0,0,0,0)

#define PX_CSS_COLOR_AliceBlue PX_COLOR(0xFF, 0xF0, 0xF8, 0xFF)
#define PX_CSS_COLOR_AntiqueWhite PX_COLOR(0xFF, 0xFA, 0xEB, 0xD7)
#define PX_CSS_COLOR_Aqua PX_COLOR(0xFF, 0x00, 0xFF, 0xFF)
#define PX_CSS_COLOR_Aquamarine PX_COLOR(0xFF, 0x7F, 0xFF, 0xD4)
#define PX_CSS_COLOR_Azure PX_COLOR(0xFF, 0xF0, 0xFF, 0xFF)
#define PX_CSS_COLOR_Beige PX_COLOR(0xFF, 0xF5, 0xF5, 0xDC)
#define PX_CSS_COLOR_Bisque PX_COLOR(0xFF, 0xFF, 0xE4, 0xC4)
#define PX_CSS_COLOR_Black PX_COLOR(0xFF, 0x00, 0x00, 0x00)
#define PX_CSS_COLOR_BlanchedAlmond PX_COLOR(0xFF, 0xFF, 0xEB, 0xCD)
#define PX_CSS_COLOR_Blue PX_COLOR(0xFF, 0x00, 0x00, 0xFF)
#define PX_CSS_COLOR_BlueViolet PX_COLOR(0xFF, 0x8A, 0x2B, 0xE2)
#define PX_CSS_COLOR_Brown PX_COLOR(0xFF, 0xA5, 0x2A, 0x2A)
#define PX_CSS_COLOR_BurlyWood PX_COLOR(0xFF, 0xDE, 0xB8, 0x87)
#define PX_CSS_COLOR_CadetBlue PX_COLOR(0xFF, 0x5F, 0x9E, 0xA0)
#define PX_CSS_COLOR_Chartreuse PX_COLOR(0xFF, 0x7F, 0xFF, 0x00)
#define PX_CSS_COLOR_Chocolate PX_COLOR(0xFF, 0xD2, 0x69, 0x1E)
#define PX_CSS_COLOR_Coral PX_COLOR(0xFF, 0xFF, 0x7F, 0x50)
#define PX_CSS_COLOR_CornflowerBlue PX_COLOR(0xFF, 0x64, 0x95, 0xED)
#define PX_CSS_COLOR_Cornsilk PX_COLOR(0xFF, 0xFF, 0xF8, 0xDC)
#define PX_CSS_COLOR_Crimson PX_COLOR(0xFF, 0xDC, 0x14, 0x3C)
#define PX_CSS_COLOR_Cyan PX_COLOR(0xFF, 0x00, 0xFF, 0xFF)
#define PX_CSS_COLOR_DarkBlue PX_COLOR(0xFF, 0x00, 0x00, 0x8B)
#define PX_CSS_COLOR_DarkCyan PX_COLOR(0xFF, 0x00, 0x8B, 0x8B)
#define PX_CSS_COLOR_DarkGoldenRod PX_COLOR(0xFF, 0xB8, 0x86, 0x0B)
#define PX_CSS_COLOR_DarkGray PX_COLOR(0xFF, 0xA9, 0xA9, 0xA9)
#define PX_CSS_COLOR_DarkGreen PX_COLOR(0xFF, 0x00, 0x64, 0x0)
#define PX_CSS_COLOR_DarkKhaki PX_COLOR(0xFF, 0xBD, 0xB7, 0x6B)
#define PX_CSS_COLOR_DarkMagenta PX_COLOR(0xFF, 0x8B, 0x00, 0x8B)
#define PX_CSS_COLOR_DarkOliveGreen PX_COLOR(0xFF, 0x55, 0x6B, 0x2F)
#define PX_CSS_COLOR_Darkorange PX_COLOR(0xFF, 0xFF, 0x8C, 0x0)
#define PX_CSS_COLOR_DarkOrchid PX_COLOR(0xFF, 0x99, 0x32, 0xCC)
#define PX_CSS_COLOR_DarkRed PX_COLOR(0xFF, 0x8B, 0x00, 0x00)
#define PX_CSS_COLOR_DarkSalmon PX_COLOR(0xFF, 0xE9, 0x96, 0x7A)
#define PX_CSS_COLOR_DarkSeaGreen PX_COLOR(0xFF, 0x8F, 0xBC, 0x8F)
#define PX_CSS_COLOR_DarkSlateBlue PX_COLOR(0xFF, 0x48, 0x3D, 0x8B)
#define PX_CSS_COLOR_DarkSlateGray PX_COLOR(0xFF, 0x2F, 0x4F, 0x4F)
#define PX_CSS_COLOR_DarkTurquoise PX_COLOR(0xFF, 0x00, 0xCE, 0xD1)
#define PX_CSS_COLOR_DarkViolet PX_COLOR(0xFF, 0x94, 0x00, 0xD3)
#define PX_CSS_COLOR_DeepPink PX_COLOR(0xFF, 0xFF, 0x14, 0x93)
#define PX_CSS_COLOR_DeepSkyBlue PX_COLOR(0xFF, 0x00, 0xBF, 0xFF)
#define PX_CSS_COLOR_DimGray PX_COLOR(0xFF, 0x69, 0x69, 0x69)
#define PX_CSS_COLOR_DodgerBlue PX_COLOR(0xFF, 0x1E, 0x90, 0xFF)
#define PX_CSS_COLOR_Feldspar PX_COLOR(0xFF, 0xD1, 0x92, 0x75)
#define PX_CSS_COLOR_FireBrick PX_COLOR(0xFF, 0xB2, 0x22, 0x22)
#define PX_CSS_COLOR_FloralWhite PX_COLOR(0xFF, 0xFF, 0xFA, 0xF0)
#define PX_CSS_COLOR_ForestGreen PX_COLOR(0xFF, 0x22, 0x8B, 0x22)
#define PX_CSS_COLOR_Fuchsia PX_COLOR(0xFF, 0xFF, 0x00, 0xFF)
#define PX_CSS_COLOR_Gainsboro PX_COLOR(0xFF, 0xDC, 0xDC, 0xDC)
#define PX_CSS_COLOR_GhostWhite PX_COLOR(0xFF, 0xF8, 0xF8, 0xFF)
#define PX_CSS_COLOR_Gold PX_COLOR(0xFF, 0xFF, 0xD7, 0x0)
#define PX_CSS_COLOR_GoldenRod PX_COLOR(0xFF, 0xDA, 0xA5, 0x20)
#define PX_CSS_COLOR_Gray PX_COLOR(0xFF, 0x80, 0x80, 0x80)
#define PX_CSS_COLOR_Green PX_COLOR(0xFF, 0x00, 0x80, 0x00)
#define PX_CSS_COLOR_GreenYellow PX_COLOR(0xFF, 0xAD, 0xFF, 0x2F)
#define PX_CSS_COLOR_HoneyDew PX_COLOR(0xFF, 0xF0, 0xFF, 0xF0)
#define PX_CSS_COLOR_HotPink PX_COLOR(0xFF, 0xFF, 0x69, 0xB4)
#define PX_CSS_COLOR_IndianRed PX_COLOR(0xFF, 0xCD, 0x5C, 0x5C)
#define PX_CSS_COLOR_Indigo PX_COLOR(0xFF, 0x4B, 0x00, 0x82)
#define PX_CSS_COLOR_Ivory PX_COLOR(0xFF, 0xFF, 0xFF, 0xF0)
#define PX_CSS_COLOR_Khaki PX_COLOR(0xFF, 0xF0, 0xE6, 0x8C)
#define PX_CSS_COLOR_Lavender PX_COLOR(0xFF, 0xE6, 0xE6, 0xFA)
#define PX_CSS_COLOR_LavenderBlush PX_COLOR(0xFF, 0xFF, 0xF0, 0xF5)
#define PX_CSS_COLOR_LawnGreen PX_COLOR(0xFF, 0x7C, 0xFC, 0x00)
#define PX_CSS_COLOR_LemonChiffon PX_COLOR(0xFF, 0xFF, 0xFA, 0xCD)
#define PX_CSS_COLOR_LightBlue PX_COLOR(0xFF, 0xAD, 0xD8, 0xE6)
#define PX_CSS_COLOR_LightCoral PX_COLOR(0xFF, 0xF0, 0x80, 0x80)
#define PX_CSS_COLOR_LightCyan PX_COLOR(0xFF, 0xE0, 0xFF, 0xFF)
#define PX_CSS_COLOR_LightGoldenRodYellow PX_COLOR(0xFF, 0xFA, 0xFA, 0xD2)
#define PX_CSS_COLOR_LightGrey PX_COLOR(0xFF, 0xD3, 0xD3, 0xD3)
#define PX_CSS_COLOR_LightGreen PX_COLOR(0xFF, 0x90, 0xEE, 0x90)
#define PX_CSS_COLOR_LightPink PX_COLOR(0xFF, 0xFF, 0xB6, 0xC1)
#define PX_CSS_COLOR_LightSalmon PX_COLOR(0xFF, 0xFF, 0xA0, 0x7A)
#define PX_CSS_COLOR_LightSeaGreen PX_COLOR(0xFF, 0x20, 0xB2, 0xAA)
#define PX_CSS_COLOR_LightSkyBlue PX_COLOR(0xFF, 0x87, 0xCE, 0xFA)
#define PX_CSS_COLOR_LightSlateBlue PX_COLOR(0xFF, 0x84, 0x70, 0xFF)
#define PX_CSS_COLOR_LightSlateGray PX_COLOR(0xFF, 0x77, 0x88, 0x99)
#define PX_CSS_COLOR_LightSteelBlue PX_COLOR(0xFF, 0xB0, 0xC4, 0xDE)
#define PX_CSS_COLOR_LightYellow PX_COLOR(0xFF, 0xFF, 0xFF, 0xE0)
#define PX_CSS_COLOR_Lime PX_COLOR(0xFF, 0x00, 0xFF, 0x00)
#define PX_CSS_COLOR_LimeGreen PX_COLOR(0xFF, 0x32, 0xCD, 0x32)
#define PX_CSS_COLOR_Linen PX_COLOR(0xFF, 0xFA, 0xF0, 0xE6)
#define PX_CSS_COLOR_Magenta PX_COLOR(0xFF, 0xFF, 0x00, 0xFF)
#define PX_CSS_COLOR_Maroon PX_COLOR(0xFF, 0x80, 0x00, 0x00)
#define PX_CSS_COLOR_MediumAquaMarine PX_COLOR(0xFF, 0x66, 0xCD, 0xAA)
#define PX_CSS_COLOR_MediumBlue PX_COLOR(0xFF, 0x00, 0x00, 0xCD)
#define PX_CSS_COLOR_MediumOrchid PX_COLOR(0xFF, 0xBA, 0x55, 0xD3)
#define PX_CSS_COLOR_MediumPurple PX_COLOR(0xFF, 0x93, 0x70, 0xD8)
#define PX_CSS_COLOR_MediumSeaGreen PX_COLOR(0xFF, 0x3C, 0xB3, 0x71)
#define PX_CSS_COLOR_MediumSlateBlue PX_COLOR(0xFF, 0x7B, 0x68, 0xEE)
#define PX_CSS_COLOR_MediumSpringGreen PX_COLOR(0xFF, 0x00, 0xFA, 0x9A)
#define PX_CSS_COLOR_MediumTurquoise PX_COLOR(0xFF, 0x48, 0xD1, 0xCC)
#define PX_CSS_COLOR_MediumVioletRed PX_COLOR(0xFF, 0xC7, 0x15, 0x85)
#define PX_CSS_COLOR_MidnightBlue PX_COLOR(0xFF, 0x19, 0x19, 0x70)
#define PX_CSS_COLOR_MintCream PX_COLOR(0xFF, 0xF5, 0xFF, 0xFA)
#define PX_CSS_COLOR_MistyRose PX_COLOR(0xFF, 0xFF, 0xE4, 0xE1)
#define PX_CSS_COLOR_Moccasin PX_COLOR(0xFF, 0xFF, 0xE4, 0xB5)
#define PX_CSS_COLOR_NavajoWhite PX_COLOR(0xFF, 0xFF, 0xDE, 0xAD)
#define PX_CSS_COLOR_Navy PX_COLOR(0xFF, 0x00, 0x00, 0x80)
#define PX_CSS_COLOR_OldLace PX_COLOR(0xFF, 0xFD, 0xF5, 0xE6)
#define PX_CSS_COLOR_Olive PX_COLOR(0xFF, 0x80, 0x80, 0x0)
#define PX_CSS_COLOR_OliveDrab PX_COLOR(0xFF, 0x6B, 0x8E, 0x23)
#define PX_CSS_COLOR_Orange PX_COLOR(0xFF, 0xFF, 0xA5, 0x00)
#define PX_CSS_COLOR_OrangeRed PX_COLOR(0xFF, 0xFF, 0x45, 0x00)
#define PX_CSS_COLOR_Orchid PX_COLOR(0xFF, 0xDA, 0x70, 0xD6)
#define PX_CSS_COLOR_PaleGoldenRod PX_COLOR(0xFF, 0xEE, 0xE8, 0xAA)
#define PX_CSS_COLOR_PaleGreen PX_COLOR(0xFF, 0x98, 0xFB, 0x98)
#define PX_CSS_COLOR_PaleTurquoise PX_COLOR(0xFF, 0xAF, 0xEE, 0xEE)
#define PX_CSS_COLOR_PaleVioletRed PX_COLOR(0xFF, 0xD8, 0x70, 0x93)
#define PX_CSS_COLOR_PapayaWhip PX_COLOR(0xFF, 0xFF, 0xEF, 0xD5)
#define PX_CSS_COLOR_PeachPuff PX_COLOR(0xFF, 0xFF, 0xDA, 0xB9)
#define PX_CSS_COLOR_Peru PX_COLOR(0xFF, 0xCD, 0x85, 0x3F)
#define PX_CSS_COLOR_Pink PX_COLOR(0xFF, 0xFF, 0xC0, 0xCB)
#define PX_CSS_COLOR_Plum PX_COLOR(0xFF, 0xDD, 0xA0, 0xDD)
#define PX_CSS_COLOR_PowderBlue PX_COLOR(0xFF, 0xB0, 0xE0, 0xE6)
#define PX_CSS_COLOR_Purple PX_COLOR(0xFF, 0x80, 0x00, 0x80)
#define PX_CSS_COLOR_Red PX_COLOR(0xFF, 0xFF, 0x00, 0x0)
#define PX_CSS_COLOR_RosyBrown PX_COLOR(0xFF, 0xBC, 0x8F, 0x8F)
#define PX_CSS_COLOR_RoyalBlue PX_COLOR(0xFF, 0x41, 0x69, 0xE1)
#define PX_CSS_COLOR_SaddleBrown PX_COLOR(0xFF, 0x8B, 0x45, 0x13)
#define PX_CSS_COLOR_Salmon PX_COLOR(0xFF, 0xFA, 0x80, 0x72)
#define PX_CSS_COLOR_SandyBrown PX_COLOR(0xFF, 0xF4, 0xA4, 0x60)
#define PX_CSS_COLOR_SeaGreen PX_COLOR(0xFF, 0x2E, 0x8B, 0x57)
#define PX_CSS_COLOR_SeaShell PX_COLOR(0xFF, 0xFF, 0xF5, 0xEE)
#define PX_CSS_COLOR_Sienna PX_COLOR(0xFF, 0xA0, 0x52, 0x2D)
#define PX_CSS_COLOR_Silver PX_COLOR(0xFF, 0xC0, 0xC0, 0xC0)
#define PX_CSS_COLOR_SkyBlue PX_COLOR(0xFF, 0x87, 0xCE, 0xEB)
#define PX_CSS_COLOR_SlateBlue PX_COLOR(0xFF, 0x6A, 0x5A, 0xCD)
#define PX_CSS_COLOR_SlateGray PX_COLOR(0xFF, 0x70, 0x80, 0x90)
#define PX_CSS_COLOR_Snow PX_COLOR(0xFF, 0xFF, 0xFA, 0xFA)
#define PX_CSS_COLOR_SpringGreen PX_COLOR(0xFF, 0x00, 0xFF, 0x7F)
#define PX_CSS_COLOR_SteelBlue PX_COLOR(0xFF, 0x46, 0x82, 0xB4)
#define PX_CSS_COLOR_Tan PX_COLOR(0xFF, 0xD2, 0xB4, 0x8C)
#define PX_CSS_COLOR_Teal PX_COLOR(0xFF, 0x00, 0x80, 0x80)
#define PX_CSS_COLOR_Thistle PX_COLOR(0xFF, 0xD8, 0xBF, 0xD8)
#define PX_CSS_COLOR_Tomato PX_COLOR(0xFF, 0xFF, 0x63, 0x47)
#define PX_CSS_COLOR_Turquoise PX_COLOR(0xFF, 0x40, 0xE0, 0xD0)
#define PX_CSS_COLOR_Violet PX_COLOR(0xFF, 0xEE, 0x82, 0xEE)
#define PX_CSS_COLOR_VioletRed PX_COLOR(0xFF, 0xD0, 0x20, 0x90)
#define PX_CSS_COLOR_Wheat PX_COLOR(0xFF, 0xF5, 0xDE, 0xB3)
#define PX_CSS_COLOR_White PX_COLOR(0xFF, 0xFF, 0xFF, 0xFF)
#define PX_CSS_COLOR_WhiteSmoke PX_COLOR(0xFF, 0xF5, 0xF5, 0xF5)
#define PX_CSS_COLOR_Yellow PX_COLOR(0xFF, 0xFF, 0xFF, 0x00)
#define PX_CSS_COLOR_YellowGreen PX_COLOR(0xFF, 0x9A, 0xCD, 0x32)

#ifdef _DEBUG
#define PX_DEBUG_MODE _DEBUG
#endif
Expand Down

0 comments on commit 9047609

Please sign in to comment.