1// Aseprite UI Library
2// Copyright (C) 2019-2020 Igara Studio S.A.
3// Copyright (C) 2001-2015 David Capello
4//
5// This file is released under the terms of the MIT license.
6// Read LICENSE.txt for more information.
7
8#ifndef UI_WIDGETS_LIST_H_INCLUDED
9#define UI_WIDGETS_LIST_H_INCLUDED
10#pragma once
11
12#include <vector>
13
14#define UI_FIRST_WIDGET(list_name) \
15 ((list_name).empty() ? nullptr: (list_name).front())
16
17namespace ui {
18
19 class Widget;
20 typedef std::vector<Widget*> WidgetsList;
21
22} // namespace ui
23
24#endif
25