Pioneer
Image.h
Go to the documentation of this file.
1 // Copyright © 2008-2023 Pioneer Developers. See AUTHORS.txt for details
2 // Licensed under the terms of the GPL v3. See licenses/GPL-3.txt
3 
4 #ifndef PIGUI_IMAGE_H
5 #define PIGUI_IMAGE_H
6 
7 #include "Pi.h"
8 #include "SmartPtr.h"
10 
11 namespace PiGui {
12 
13  class Image : public RefCounted {
14  public:
15  explicit Image(const std::string &filename);
16 
17  void *GetImTextureID();
18  vector2f GetSize();
19  vector2f GetUv();
20 
21  private:
23  };
24 
25 } // namespace PiGui
26 
27 #endif
Definition: Image.h:13
vector2f GetSize()
Definition: Image.cpp:20
void * GetImTextureID()
Definition: Image.cpp:15
Image(const std::string &filename)
Definition: Image.cpp:10
vector2f GetUv()
Definition: Image.cpp:26
Definition: RefCounted.h:11
Definition: LuaBody.cpp:29