Move fileutil, net, image loaders, ui to Common. (#13506)

* Move and rename file_util/fd_util to Common/File/FileUtil and DirListing

Let's also move net while we're at it.

Move the ZIM/PNG loaders over to Common.

Move the UI framework into Common

iOS buildfix

* Buildfix

* Buildfixes

* Apple buildfix

* This typo again..

* UWP buildfix

* Fix build of PPSSPPQt, such as it is (it's not in good condition...)

* Guess what? Another buildfix.
This commit is contained in:
Henrik Rydgård authored and GitHub committed 2020-10-04 20:48:47 +02:00
1 parent f82754e8b4
commit 4f43cff5ca
189 files changed
+1013 -1098

No files matched your search

+26
View File
@@ -0,0 +1,26 @@
// See header for documentation.
#include <string>
#include <vector>
#include <cmath>
#include <cstring>
#include "Common/Data/Color/RGBAUtil.h"
#include "Common/UI/UI.h"
#include "Common/UI/Context.h"
#include "gfx/texture_atlas.h"
#include "gfx_es2/draw_buffer.h"
// TODO: UI should probably not own these.
DrawBuffer ui_draw2d;
DrawBuffer ui_draw2d_front;
void UIBegin(Draw::Pipeline *pipeline) {
ui_draw2d.Begin(pipeline);
ui_draw2d_front.Begin(pipeline);
}
void UIFlush() {
ui_draw2d.Flush();
ui_draw2d_front.Flush();
}