aseprite/src/ui/separator.h

28 lines
527 B
C
Raw Normal View History

// Aseprite UI Library
2013-01-27 23:13:13 +08:00
// Copyright (C) 2001-2013 David Capello
//
// This file is released under the terms of the MIT license.
// Read LICENSE.txt for more information.
2012-06-18 09:49:58 +08:00
#ifndef UI_SEPARATOR_H_INCLUDED
#define UI_SEPARATOR_H_INCLUDED
2014-03-30 06:40:17 +08:00
#pragma once
2007-09-19 07:57:02 +08:00
2012-06-18 09:49:58 +08:00
#include "ui/widget.h"
2007-09-19 07:57:02 +08:00
namespace ui {
class Separator : public Widget
{
public:
Separator(const std::string& text, int align);
protected:
void onPaint(PaintEvent& ev) override;
2015-12-04 08:50:05 +08:00
void onSizeHint(SizeHintEvent& ev) override;
};
} // namespace ui
2007-09-19 07:57:02 +08:00
2009-08-18 05:38:00 +08:00
#endif