commit x64 compilation from lulu cause the other branch dont seems to compile properly at home
This commit is contained in:
24
include/engine/ui/ui_profiler.cpp
Normal file
24
include/engine/ui/ui_profiler.cpp
Normal file
@ -0,0 +1,24 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
----------------------------------------------------------------------------- */
|
||||
|
||||
|
||||
#include "ui/ui.h"
|
||||
#include "core/core_profiler.h"
|
||||
#include "core/raster_font.h"
|
||||
#include "core/renderer.h"
|
||||
|
||||
using namespace GS;
|
||||
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
void S2D::Scene::DrawProfilerText(Renderer &r, Render::RasterFont *font[2], float &x, float &y)
|
||||
{
|
||||
Color title_color(0.75, 0.5, 1);
|
||||
Renderer::WriterConfig config(false);
|
||||
|
||||
r.Write(*font[1], "Scene 2D:\n\n", x, y, config, 1, &title_color);
|
||||
r.Write(*font[0], String::Format("Window count = %d\n\n", item_list.GetCount()), x, y, config, 1, &Color::Yellow);
|
||||
}
|
||||
//------------------------------------------------------------------------------
|
||||
Reference in New Issue
Block a user