1 // Copyright 2014 The PDFium Authors 2 // Use of this source code is governed by a BSD-style license that can be 3 // found in the LICENSE file. 4 5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com 6 7 #ifndef XFA_FWL_THEME_CFWL_UTILS_H_ 8 #define XFA_FWL_THEME_CFWL_UTILS_H_ 9 10 #include <stdint.h> 11 12 #include "core/fxge/dib/fx_dib.h" 13 14 namespace pdfium { 15 16 // Values matter, used for indexing. 17 enum class FWLTHEME_STATE : uint8_t { kNormal = 1, kHover, kPressed, kDisable }; 18 19 enum class FWLTHEME_DIRECTION : uint8_t { kUp = 0, kDown, kLeft, kRight }; 20 21 #define FWLTHEME_COLOR_EDGERB1 (ArgbEncode(255, 241, 239, 226)) 22 #define FWLTHEME_COLOR_Background (ArgbEncode(255, 236, 233, 216)) 23 #define FWLTHEME_COLOR_BKSelected (ArgbEncode(255, 153, 193, 218)) 24 25 #define FWLTHEME_CAPACITY_FontSize 12.0f 26 #define FWLTHEME_CAPACITY_TextColor (ArgbEncode(255, 0, 0, 0)) 27 #define FWLTHEME_CAPACITY_TextDisColor (ArgbEncode(255, 172, 168, 153)) 28 29 } // namespace pdfium 30 31 // TODO(crbug.com/42271761): Remove. 32 using pdfium::FWLTHEME_STATE; 33 34 #endif // XFA_FWL_THEME_CFWL_UTILS_H_ 35