removes unused files from AtomFont
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
@@ -1,65 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#pragma once
|
||||
|
||||
namespace AZ
|
||||
{
|
||||
class FontBitmap
|
||||
{
|
||||
public:
|
||||
FontBitmap();
|
||||
~FontBitmap();
|
||||
|
||||
int Blur(int iterationCount);
|
||||
int Scale(float scaleX, float scaleY);
|
||||
|
||||
int BlitFrom(FontBitmap* source, int srcX, int srcY, int destX, int destY, int width, int height);
|
||||
int BlitTo(FontBitmap* destination, int destX, int destY, int srcX, int srcY, int width, int height);
|
||||
|
||||
int Create(int width, int height);
|
||||
int Release();
|
||||
|
||||
int SaveBitmap(const AZStd::string& fileName);
|
||||
int Get32Bpp(unsigned int** buffer)
|
||||
{
|
||||
(*buffer) = new unsigned int[m_width * m_height];
|
||||
|
||||
if (!(*buffer))
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
int dataSize = m_width * m_height;
|
||||
|
||||
for (int i = 0; i < dataSize; i++)
|
||||
{
|
||||
(*buffer)[i] = (m_data[i] << 24) | (m_data[i] << 16) | (m_data[i] << 8) | (m_data[i]);
|
||||
}
|
||||
|
||||
return 1;
|
||||
}
|
||||
|
||||
int GetWidth() { return m_width; }
|
||||
int GetHeight() { return m_height; }
|
||||
|
||||
void SetRenderData(void* renderData) { m_renderData = renderData; };
|
||||
void* GetRenderData() { return m_renderData; };
|
||||
|
||||
unsigned char* GetData() { return m_data; }
|
||||
|
||||
public:
|
||||
|
||||
int m_width;
|
||||
int m_height;
|
||||
|
||||
unsigned char* m_data;
|
||||
void* m_renderData;
|
||||
};
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) Contributors to the Open 3D Engine Project.
|
||||
* For complete copyright and license terms please see the LICENSE at the root of this distribution.
|
||||
*
|
||||
* SPDX-License-Identifier: Apache-2.0 OR MIT
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
#define VS_VERSION_INFO 1
|
||||
|
||||
// Next default values for new objects
|
||||
//
|
||||
#ifdef APSTUDIO_INVOKED
|
||||
#ifndef APSTUDIO_READONLY_SYMBOLS
|
||||
#define _APS_NEXT_RESOURCE_VALUE 101
|
||||
#define _APS_NEXT_COMMAND_VALUE 40001
|
||||
#define _APS_NEXT_CONTROL_VALUE 1001
|
||||
#define _APS_NEXT_SYMED_VALUE 101
|
||||
#endif
|
||||
#endif
|
||||
@@ -20,7 +20,6 @@ set(FILES
|
||||
Source/AtomNullFont.cpp
|
||||
Source/Module.cpp
|
||||
Include/AtomLyIntegration/AtomFont/AtomFont.h
|
||||
Include/AtomLyIntegration/AtomFont/FBitmap.h
|
||||
Include/AtomLyIntegration/AtomFont/FFont.h
|
||||
Include/AtomLyIntegration/AtomFont/FontRenderer.h
|
||||
Include/AtomLyIntegration/AtomFont/FontCommon.h
|
||||
@@ -28,5 +27,4 @@ set(FILES
|
||||
Include/AtomLyIntegration/AtomFont/GlyphBitmap.h
|
||||
Include/AtomLyIntegration/AtomFont/GlyphCache.h
|
||||
Include/AtomLyIntegration/AtomFont/AtomNullFont.h
|
||||
Include/AtomLyIntegration/AtomFont/resource.h
|
||||
)
|
||||
|
||||
@@ -10,7 +10,6 @@
|
||||
|
||||
#include <AzCore/Serialization/SerializeContext.h>
|
||||
#include <AzFramework/Windowing/WindowBus.h>
|
||||
#include <Atom/Feature/ImGui/ImGuiUtils.h>
|
||||
#include <Atom/Feature/ImGui/SystemBus.h>
|
||||
#include <Atom/RPI.Public/ViewportContext.h>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user