Skip to content
Snippets Groups Projects
H1Element.h 384 B
Newer Older
gyroninja's avatar
gyroninja committed
#ifndef H1ELEMENT_H
#define H1ELEMENT_H

#include "Element.h"
#include "../components/Component.h"
#include "../components/TextComponent.h"
#include "../../html/TextNode.h"
class H1Element : public Element {
gyroninja's avatar
gyroninja committed
public:
gyroninja's avatar
gyroninja committed
    virtual std::unique_ptr<Component> renderer(const std::shared_ptr<Node> node, const int x, const int y, const int windowWidth, const int windowHeight);