diff options
Diffstat (limited to 'core/fxge/fx_dib.h')
-rw-r--r-- | core/fxge/fx_dib.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/core/fxge/fx_dib.h b/core/fxge/fx_dib.h index 9a7da01467..f7626afd35 100644 --- a/core/fxge/fx_dib.h +++ b/core/fxge/fx_dib.h @@ -11,6 +11,7 @@ #include <utility> #include "core/fxcrt/fx_coordinates.h" +#include "core/fxcrt/widestring.h" enum FXDIB_Format { FXDIB_Invalid = 0, @@ -94,6 +95,8 @@ inline FX_ARGB ArgbEncode(int a, int r, int g, int b) { } FX_ARGB ArgbEncode(int a, FX_COLORREF rgb); +FX_ARGB StringToFXARGB(const WideStringView& view); + #define FXARGB_A(argb) ((uint8_t)((argb) >> 24)) #define FXARGB_R(argb) ((uint8_t)((argb) >> 16)) #define FXARGB_G(argb) ((uint8_t)((argb) >> 8)) |