native: Minor header cleanup.

This commit is contained in:
Unknown W. Brackets 2020-08-18 01:07:51 -07:00
parent b0ca635414
commit 31830dd4df
3 changed files with 6 additions and 5 deletions

View file

@ -11,10 +11,6 @@ namespace net {
void Init();
void Shutdown();
// use free() to free the returned string.
char *DNSResolveTry(const char *host, const char **err);
char *DNSResolve(const char *host);
enum class DNSType {
ANY = 0,
IPV4 = 1,

View file

@ -12,6 +12,7 @@
#include "gfx_es2/draw_text.h"
#include "Common/Log.h"
#include "UI/TextureUtil.h"
UIContext::UIContext() {
fontStyle_ = new UI::FontStyle();

View file

@ -1,12 +1,12 @@
#pragma once
#include <memory>
#include <vector>
#include "base/basictypes.h"
#include "math/geom2d.h"
#include "math/lin/vec3.h"
#include "gfx/texture_atlas.h"
#include "UI/TextureUtil.h"
// Everything you need to draw a UI collected into a single unit that can be passed around.
// Everything forward declared so this header is safe everywhere.
@ -22,13 +22,17 @@ namespace Draw {
}
class Texture;
class ManagedTexture;
class DrawBuffer;
class TextDrawer;
namespace UI {
struct Drawable;
struct EventParams;
struct Theme;
struct FontStyle;
class Event;
class View;
}
class DrawBuffer;