| 233 | color = GetPackedColor(cls >> "color"); |
| 234 | size = cls >> "size"; |
| 235 | } |
| 236 | |
| 237 | CStatic* CreateStaticMap(ControlsContainer* parent, int idc, const ParamEntry& cls) |
| 238 | { |
| 239 | CStaticMap* map = new CStaticMap(parent, idc, cls, cls >> "scaleMin", cls >> "scaleMax", cls >> "scaleDefault"); |
| 240 | map->SetVisibleRect(map->X(), map->Y(), map->W(), map->H()); |
| 241 | map->Center(); |
| 242 | return map; |
| 243 | } |
| 244 |
no test coverage detected