some refactore
This commit is contained in:
12
include/components/button/iconButton.hpp
Normal file
12
include/components/button/iconButton.hpp
Normal file
@@ -0,0 +1,12 @@
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "components/button/textButton.hpp"
|
||||
#include "components/types/icon.hpp"
|
||||
|
||||
class IconButton : public TextButton {
|
||||
public:
|
||||
IconButton(Icon::Type icon, std::string fontFamilyCss = "materia-icons");
|
||||
void setIcon(Icon::Type icon);
|
||||
};
|
||||
Reference in New Issue
Block a user