mirror of
https://github.com/aseprite/aseprite.git
synced 2025-04-17 08:43:11 +00:00
28 lines
527 B
C++
28 lines
527 B
C++
// Aseprite UI Library
|
|
// Copyright (C) 2001-2013 David Capello
|
|
//
|
|
// This file is released under the terms of the MIT license.
|
|
// Read LICENSE.txt for more information.
|
|
|
|
#ifndef UI_SEPARATOR_H_INCLUDED
|
|
#define UI_SEPARATOR_H_INCLUDED
|
|
#pragma once
|
|
|
|
#include "ui/widget.h"
|
|
|
|
namespace ui {
|
|
|
|
class Separator : public Widget
|
|
{
|
|
public:
|
|
Separator(const std::string& text, int align);
|
|
|
|
protected:
|
|
void onPaint(PaintEvent& ev) override;
|
|
void onSizeHint(SizeHintEvent& ev) override;
|
|
};
|
|
|
|
} // namespace ui
|
|
|
|
#endif
|