Home | History | Annotate | Download | only in theme
      1 // Copyright 2014 PDFium Authors. All rights reserved.
      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 "core/fxcrt/fx_system.h"
     11 
     12 enum FWLTHEME_EDGE {
     13   FWLTHEME_EDGE_Flat = 0,
     14   FWLTHEME_EDGE_Raised,
     15   FWLTHEME_EDGE_Sunken
     16 };
     17 
     18 enum FWLTHEME_STATE {
     19   FWLTHEME_STATE_Normal = 1,
     20   FWLTHEME_STATE_Hover,
     21   FWLTHEME_STATE_Pressed,
     22   FWLTHEME_STATE_Disable
     23 };
     24 
     25 enum FWLTHEME_DIRECTION {
     26   FWLTHEME_DIRECTION_Up = 0,
     27   FWLTHEME_DIRECTION_Down,
     28   FWLTHEME_DIRECTION_Left,
     29   FWLTHEME_DIRECTION_Right
     30 };
     31 
     32 #define FWLTHEME_COLOR_EDGERB1 (ArgbEncode(255, 241, 239, 226))
     33 #define FWLTHEME_COLOR_Background (ArgbEncode(255, 236, 233, 216))
     34 #define FWLTHEME_COLOR_BKSelected (ArgbEncode(255, 153, 193, 218))
     35 
     36 #define FWLTHEME_CAPACITY_FontSize 12.0f
     37 #define FWLTHEME_CAPACITY_TextColor (ArgbEncode(255, 0, 0, 0))
     38 #define FWLTHEME_CAPACITY_TextDisColor (ArgbEncode(255, 172, 168, 153))
     39 
     40 #endif  // XFA_FWL_THEME_CFWL_UTILS_H_
     41