Добавьте файлы проекта.
This commit is contained in:
30
include/Object.hpp
Normal file
30
include/Object.hpp
Normal file
@@ -0,0 +1,30 @@
|
||||
#ifndef MIMAPR_OBJECT_H
|
||||
#define MIMAPR_OBJECT_H
|
||||
|
||||
#include "Primitives.hpp"
|
||||
#include <vector>
|
||||
|
||||
class Object {
|
||||
private:
|
||||
std::vector<Form*> forms_;
|
||||
double _w;
|
||||
double _h;
|
||||
void Updsize();
|
||||
public:
|
||||
Object();
|
||||
~Object();
|
||||
|
||||
double Inhere(double, double);
|
||||
double Width() const;
|
||||
double Height() const;
|
||||
bool Add_Form(const std::string&, std::map<std::string, double>&, bool, int);
|
||||
|
||||
std::pair<double, double> Filly(double, double);
|
||||
std::pair<double, double> Fillx(double, double);
|
||||
|
||||
//std::vector<size_t> Get_IDs();
|
||||
Form* Who(double, double);
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user