mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-07-18 16:52:53 +03:00
Fixed Color::toHsv(), Color::fromHsv(), Color::toHsl().
Added to Colors::fromString(): rgb(), rgba(), hsl(), hsla(), hsv(), hsva(). --HG-- branch : dev
This commit is contained in:
28
include/eepp/system/functionstring.hpp
Normal file
28
include/eepp/system/functionstring.hpp
Normal file
@@ -0,0 +1,28 @@
|
||||
#ifndef EE_SYSTEM_FUNCTIONSTRING_HPP
|
||||
#define EE_SYSTEM_FUNCTIONSTRING_HPP
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
namespace EE { namespace System {
|
||||
|
||||
class FunctionString {
|
||||
public:
|
||||
static FunctionString parse( const std::string& function );
|
||||
|
||||
FunctionString( const std::string& name, const std::vector<std::string>& parameters );
|
||||
|
||||
const std::string& getName() const;
|
||||
|
||||
const std::vector<std::string>& getParameters() const;
|
||||
|
||||
bool isEmpty() const;
|
||||
protected:
|
||||
std::string name;
|
||||
|
||||
std::vector<std::string> parameters;
|
||||
};
|
||||
|
||||
}}
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user