• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2021 Google LLC.
2 #ifndef Defaults_DEFINED
3 #define Defaults_DEFINED
4 
5 #include "experimental/sktext/include/Types.h"
6 #include "include/core/SkColor.h"
7 
8 namespace skia {
9 namespace editor {
10 
11 using namespace skia::text;
12 
13 const TextDirection DEFAULT_TEXT_DIRECTION = TextDirection::kLtr;
14 const TextAlign DEFAULT_TEXT_ALIGN = TextAlign::kLeft;
15 const SkColor DEFAULT_TEXT_FOREGROUND = SK_ColorBLACK;
16 const SkColor DEFAULT_TEXT_BACKGROUND = SK_ColorWHITE;
17 const SkColor DEFAULT_STATUS_FOREGROUND = SK_ColorRED;
18 const SkColor DEFAULT_STATUS_BACKGROUND = SK_ColorLTGRAY;
19 const SkScalar DEFAULT_CURSOR_WIDTH = 2;
20 const SkColor DEFAULT_CURSOR_COLOR = SK_ColorGRAY;
21 const SkColor DEFAULT_SELECTION_COLOR = SK_ColorCYAN;
22 const SkScalar DEFAULT_STATUS_HEIGHT = 25;
23 
24 }   // namespace editor
25 }   // namespace skia
26 #endif // Defaults_DEFINED
27