summaryrefslogtreecommitdiff
path: root/xfa/fxfa/parser/cxfa_color.h
diff options
context:
space:
mode:
Diffstat (limited to 'xfa/fxfa/parser/cxfa_color.h')
-rw-r--r--xfa/fxfa/parser/cxfa_color.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/xfa/fxfa/parser/cxfa_color.h b/xfa/fxfa/parser/cxfa_color.h
index 590bcc61da..b15c9d8806 100644
--- a/xfa/fxfa/parser/cxfa_color.h
+++ b/xfa/fxfa/parser/cxfa_color.h
@@ -11,8 +11,14 @@
class CXFA_Color : public CXFA_Node {
public:
+ static constexpr FX_ARGB kBlackColor = 0xFF000000;
+
CXFA_Color(CXFA_Document* doc, XFA_PacketType packet);
~CXFA_Color() override;
+
+ FX_ARGB GetValue();
+ FX_ARGB GetValueOrDefault(FX_ARGB defaultValue);
+ void SetValue(FX_ARGB color);
};
#endif // XFA_FXFA_PARSER_CXFA_COLOR_H_