mirror of
https://github.com/isledecomp/isle.git
synced 2025-10-23 00:14:22 +00:00
lego: fix/match SetColorString (#72)
* lego: fix/match SetColorString * explicitly cast to float to avoid warning * style fixes * remove superfluous includes * Update legobackgroundcolor.cpp
This commit is contained in:

committed by
GitHub

parent
9415bd18bb
commit
d64a04705c
@@ -1,15 +1,15 @@
|
||||
#ifndef LEGOBACKGROUNDCOLOR_H
|
||||
#define LEGOBACKGROUNDCOLOR_H
|
||||
#include "mxstring.h"
|
||||
#include "mxcore.h"
|
||||
|
||||
#include "mxstringvariable.h"
|
||||
|
||||
class LegoBackgroundColor : public MxStringVariable
|
||||
{
|
||||
public:
|
||||
__declspec(dllexport) LegoBackgroundColor(const char *, const char *);
|
||||
void SetColorString(const char *colorString);
|
||||
protected:
|
||||
__declspec(dllexport) LegoBackgroundColor(const char *p_name, const char *p_colorString);
|
||||
void SetColorString(const char *p_colorString);
|
||||
|
||||
private:
|
||||
float h;
|
||||
float s;
|
||||
float v;
|
||||
|
Reference in New Issue
Block a user