Simple Nano Circuit 0.0.2
GroundObject.h
1#ifndef _GroundObject_H_
2#define _GroundObject_H_
3
4#include <SDL.h>
5#include "../BaseIcObject.h"
6#include "../symbols/ground.c"
7
9{
10 private:
11 void init() override;
12 void setupFootPins() override;
13
14 struct StoreData
15 {
16 ICType id;
17 SDL_Point centerPos;
18 int rotateNumber;
19 int mirrowNumber;
20 };
21 StoreData storeData;
22
23 public:
26 GroundObject(const unsigned char*, AsgardClass*);
28
29 const ICType getType() const override {return ICType::GND;}
30
31 BaseElectronObject* deepDuplicateSelf() override;
32
33 bool havePopupWindow() override { return false; };
34 const char* popupWindowName() const override {return "";}
35 void CreateImGuiForm() override {return;};
36
37 void pinInvalidNotify(FootPinNode*) override;
38 void setCurrentNotify(FootPinNode*) override;
39
40 void saveToFile(std::ofstream&) override;
41};
42
43#endif
Definition: AsgardClass.h:17
Definition: BaseElectronObject.h:13
Definition: BaseIcObject.h:11
Definition: FootPinNode.h:15
Definition: GroundObject.h:9