updated to new library version
This commit is contained in:
parent
4a08c433ad
commit
038e15a19c
|
@ -20,15 +20,15 @@ void Block::newLine() {
|
|||
|
||||
}
|
||||
|
||||
void Block::setBackgroundWithSingleColor(Color color) {
|
||||
void Block::setBackgroundWithSingleColor(vkvm::Color color) {
|
||||
|
||||
}
|
||||
|
||||
void Block::setBackground(Color *) {
|
||||
void Block::setBackground(vkvm::Color *) {
|
||||
|
||||
}
|
||||
|
||||
void Block::setBackgroundWithSlowChangedColor(Color color1, Color color2, int modul) {
|
||||
void Block::setBackgroundWithSlowChangedColor(vkvm::Color color1, vkvm::Color color2, int modul) {
|
||||
|
||||
}
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
#define TRE_BLOCK_H
|
||||
|
||||
#include <string>
|
||||
#include <Color.h>
|
||||
#include "Color.hpp"
|
||||
#include "Font.h"
|
||||
|
||||
class Block {
|
||||
|
@ -19,9 +19,9 @@ public:
|
|||
virtual unsigned char * getDisplayColor();
|
||||
|
||||
|
||||
virtual void setBackgroundWithSingleColor(Color color);
|
||||
virtual void setBackground(Color[]);
|
||||
virtual void setBackgroundWithSlowChangedColor(Color color1, Color color2, int modul);
|
||||
virtual void setBackgroundWithSingleColor(vkvm::Color color);
|
||||
virtual void setBackground(vkvm::Color[]);
|
||||
virtual void setBackgroundWithSlowChangedColor(vkvm::Color color1, vkvm::Color color2, int modul);
|
||||
|
||||
|
||||
virtual void setNowX();
|
||||
|
|
10
src/Config.h
10
src/Config.h
|
@ -8,7 +8,7 @@
|
|||
#include <fstream>
|
||||
#include <sstream>
|
||||
#include <iostream>
|
||||
#include "Color.h"
|
||||
#include "Color.hpp"
|
||||
|
||||
#define CONFIG_FILE_PATH "../res/font4.config"
|
||||
#define BORDER_COLOR_STARTPOSITION 13
|
||||
|
@ -21,9 +21,9 @@
|
|||
|
||||
class Config {
|
||||
public:
|
||||
Color border_color = Color(0, 0, 0);
|
||||
Color background_color = Color(0, 0, 0);
|
||||
Color font_color = Color(0, 0, 0);
|
||||
vkvm::Color border_color = vkvm::Color(0, 0, 0);
|
||||
vkvm::Color background_color = vkvm::Color(0, 0, 0);
|
||||
vkvm::Color font_color = vkvm::Color(0, 0, 0);
|
||||
int border_width;
|
||||
int row;
|
||||
int column;
|
||||
|
@ -34,7 +34,7 @@ public:
|
|||
private:
|
||||
void init();
|
||||
|
||||
Color readColor(std::string line);
|
||||
vkvm::Color readColor(std::string line);
|
||||
int readInteger(std::string line);
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue