mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-22 11:39:19 +02:00
Merge branch 'tmj-dev'
This commit is contained in:
@@ -1,9 +1,7 @@
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include "Texture.h"
|
||||
#include "Float3d.h"
|
||||
|
||||
// GuiLayer -- basic user interface class. draws requested information on top of openGL screen
|
||||
|
||||
@@ -11,10 +9,10 @@ struct ui_panel {
|
||||
|
||||
struct text_line {
|
||||
|
||||
float4 color;
|
||||
glm::vec4 color;
|
||||
std::string data;
|
||||
|
||||
text_line( std::string const &Data, float4 const &Color):
|
||||
text_line( std::string const &Data, glm::vec4 const &Color):
|
||||
data(Data), color(Color)
|
||||
{}
|
||||
};
|
||||
@@ -84,7 +82,7 @@ private:
|
||||
print( std::string const &Text );
|
||||
// draws a quad between coordinates x,y and z,w with uv-coordinates spanning 0-1
|
||||
void
|
||||
quad( float4 const &Coordinates, float4 const &Color );
|
||||
quad( glm::vec4 const &Coordinates, glm::vec4 const &Color );
|
||||
|
||||
|
||||
// members:
|
||||
|
||||
Reference in New Issue
Block a user