| 1 | // Aseprite UI Library | 
|---|
| 2 | // Copyright (C) 2001-2017  David Capello | 
|---|
| 3 | // | 
|---|
| 4 | // This file is released under the terms of the MIT license. | 
|---|
| 5 | // Read LICENSE.txt for more information. | 
|---|
| 6 |  | 
|---|
| 7 | #ifndef UI_INTERN_H_INCLUDED | 
|---|
| 8 | #define UI_INTERN_H_INCLUDED | 
|---|
| 9 | #pragma once | 
|---|
| 10 |  | 
|---|
| 11 | #include "gfx/color.h" | 
|---|
| 12 | #include "ui/base.h" | 
|---|
| 13 |  | 
|---|
| 14 | namespace os { | 
|---|
| 15 | class Font; | 
|---|
| 16 | } | 
|---|
| 17 |  | 
|---|
| 18 | namespace ui { | 
|---|
| 19 |  | 
|---|
| 20 | class Graphics; | 
|---|
| 21 | class Widget; | 
|---|
| 22 | class Window; | 
|---|
| 23 |  | 
|---|
| 24 | // intern.cpp | 
|---|
| 25 |  | 
|---|
| 26 | namespace details { | 
|---|
| 27 |  | 
|---|
| 28 | void initWidgets(); | 
|---|
| 29 | void exitWidgets(); | 
|---|
| 30 |  | 
|---|
| 31 | void addWidget(Widget* widget); | 
|---|
| 32 | void removeWidget(Widget* widget); | 
|---|
| 33 |  | 
|---|
| 34 | void reinitThemeForAllWidgets(); | 
|---|
| 35 | int old_guiscale(); | 
|---|
| 36 |  | 
|---|
| 37 | } // namespace details | 
|---|
| 38 |  | 
|---|
| 39 | } // namespace ui | 
|---|
| 40 |  | 
|---|
| 41 | #endif | 
|---|
| 42 |  | 
|---|