Update renderd7.hpp
This commit is contained in:
parent
7737cba060
commit
b68c7d29ae
10
renderd7.hpp
10
renderd7.hpp
@ -215,6 +215,14 @@ namespace RenderD7
|
|||||||
float txtsize = 0.7f; //Set Text Size
|
float txtsize = 0.7f; //Set Text Size
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct TLBtn
|
||||||
|
{
|
||||||
|
int x; //Position X
|
||||||
|
int y; //Position Y
|
||||||
|
int w; //Button Width
|
||||||
|
int h; //Button Height
|
||||||
|
};
|
||||||
|
|
||||||
struct ScrollList1
|
struct ScrollList1
|
||||||
{
|
{
|
||||||
std::string Text = "";
|
std::string Text = "";
|
||||||
@ -237,7 +245,7 @@ namespace RenderD7
|
|||||||
void DrawTObjects(std::vector<RenderD7::TObject> tobjects, u32 color, u32 txtcolor, int selection = -1, u32 selbgcolor = RenderD7::Color::Hex("#2D98AF"), u32 selcolor = RenderD7::Color::Hex("#000000"));
|
void DrawTObjects(std::vector<RenderD7::TObject> tobjects, u32 color, u32 txtcolor, int selection = -1, u32 selbgcolor = RenderD7::Color::Hex("#2D98AF"), u32 selcolor = RenderD7::Color::Hex("#000000"));
|
||||||
void DrawSTObject(std::vector<RenderD7::TObject> tobject, int tobjectindex, u32 color, u32 txtcolor);
|
void DrawSTObject(std::vector<RenderD7::TObject> tobject, int tobjectindex, u32 color, u32 txtcolor);
|
||||||
bool touchTObj(touchPosition touch, RenderD7::TObject button);
|
bool touchTObj(touchPosition touch, RenderD7::TObject button);
|
||||||
|
void DrawTLBtns(std::vector<RenderD7::TLBtn> btns, u32 color, int selection = -1, u32 selbgcolor = RenderD7::Color::Hex("#2D98AF"), u32 selcolor = RenderD7::Color::Hex("#000000"));
|
||||||
struct DirContent
|
struct DirContent
|
||||||
{
|
{
|
||||||
std::string name;
|
std::string name;
|
||||||
|
Loading…
Reference in New Issue
Block a user