aseprite/src/ui/label.h
2015-12-03 21:50:05 -03:00

28 lines
521 B
C++

// Aseprite UI Library
// Copyright (C) 2001-2015 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
#ifndef UI_LABEL_H_INCLUDED
#define UI_LABEL_H_INCLUDED
#pragma once
#include "gfx/color.h"
#include "ui/widget.h"
namespace ui {
class Label : public Widget {
public:
Label(const std::string& text);
protected:
void onSizeHint(SizeHintEvent& ev) override;
void onPaint(PaintEvent& ev) override;
};
} // namespace ui
#endif