11 #ifndef INCLUDED_VCL_INC_WIDGETDEFINITION_HXX
12 #define INCLUDED_VCL_INC_WIDGETDEFINITION_HXX
16 #include <rtl/ustring.hxx>
18 #include <unordered_map>
21 #include <boost/functional/hash.hpp>
135 return meType == aOther.
meType && mePart == aOther.
mePart;
147 std::size_t seed = 0;
148 boost::hash_combine(seed, rControlTypeAndPart.meType);
149 boost::hash_combine(seed, rControlTypeAndPart.mePart);
171 OString
const& sRollover, OString
const& sDefault,
172 OString
const& sSelected, OString
const& sButtonValue,
173 OString
const& sExtra);
178 float fY1,
float fX2,
float fY2, sal_Int32 nRx, sal_Int32 nRy);
180 void addDrawLine(
Color aStrokeColor, sal_Int32 nStrokeWidth,
float fX1,
float fY1,
float fX2,
196 std::vector<std::shared_ptr<WidgetDefinitionState>> getStates(
ControlType eType,
201 std::vector<std::shared_ptr<WidgetDefinitionState>>
maStates;
288 std::shared_ptr<WidgetDefinitionStyle>
mpStyle;
290 std::unordered_map<ControlTypeAndPart, std::shared_ptr<WidgetDefinitionPart>>
maDefinitions;
296 #endif // INCLUDED_VCL_INC_WIDGETDEFINITION_HXX
std::size_t operator()(vcl::ControlTypeAndPart const &rControlTypeAndPart) const noexcept
bool operator==(ControlTypeAndPart const &aOther) const
void(* f)(TrueTypeTable *)
ControlTypeAndPart(ControlType eType, ControlPart ePart)