void MkWindowThemedNode::Save(MkDataNode& node) const { // component panel 제외 static MkArray<MkHashStr> panelExceptions(10); if (panelExceptions.Empty()) { panelExceptions.PushBack(MkWindowThemeUnitData::ImagePositionName); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_LT]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_MT]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_RT]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_LC]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_MC]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_RC]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_LB]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_MB]); panelExceptions.PushBack(MkWindowThemeUnitData::EdgeAndTablePositionName[MkWindowThemeUnitData::eP_RB]); } _AddExceptionList(node, SystemKey_PanelExceptions, panelExceptions); // shadow node 제외 static MkArray<MkHashStr> nodeExceptions; if (nodeExceptions.Empty()) { nodeExceptions.PushBack(ShadowNodeName); } _AddExceptionList(node, SystemKey_NodeExceptions, nodeExceptions); // run MkVisualPatternNode::Save(node); }
void MkCheckBoxControlNode::Save(MkDataNode& node) const { // caption, on icon 제외 static MkArray<MkHashStr> exceptions(2); if (exceptions.Empty()) { exceptions.PushBack(CaptionNodeName); exceptions.PushBack(CheckIconName); } _AddExceptionList(node, SystemKey_NodeExceptions, exceptions); // run MkWindowBaseNode::Save(node); }