mirror of https://github.com/PrimeDecomp/prime.git
parent
020542afea
commit
f6120c7bde
|
@ -1,44 +1,19 @@
|
|||
#ifndef _CGUITEXTSUPPORT
|
||||
#define _CGUITEXTSUPPORT
|
||||
|
||||
#include "Kyoto/SObjectTag.hpp"
|
||||
|
||||
#include "Kyoto/Text/TextCommon.hpp"
|
||||
|
||||
#include "rstl/string.hpp"
|
||||
#include "rstl/vector.hpp"
|
||||
#include "rstl/pair.hpp"
|
||||
|
||||
class CColor;
|
||||
class CGuiFrame;
|
||||
class CTextExecuteBuffer;
|
||||
class CTextParser;
|
||||
|
||||
enum EJustification {
|
||||
kJ_Left = 0,
|
||||
kJ_Center,
|
||||
kJ_Right,
|
||||
kJ_Full,
|
||||
kJ_NLeft,
|
||||
kJ_NCenter,
|
||||
kJ_NRight,
|
||||
kJ_LeftMono,
|
||||
kJ_CenterMono,
|
||||
kJ_RightMono,
|
||||
};
|
||||
|
||||
enum EVerticalJustification {
|
||||
kVJ_Top = 0,
|
||||
kVJ_Center,
|
||||
kVJ_Bottom,
|
||||
kVJ_Full,
|
||||
kVJ_NTop,
|
||||
kVJ_NCenter,
|
||||
kVJ_NBottom,
|
||||
kVJ_TopMono,
|
||||
kVJ_CenterMono,
|
||||
kVJ_RightMono,
|
||||
};
|
||||
|
||||
enum ETextDirection {
|
||||
kTD_Horizontal,
|
||||
kTD_Vertical,
|
||||
};
|
||||
class CSimplePool;
|
||||
|
||||
class CGuiTextProperties {
|
||||
friend class CGuiTextSupport;
|
||||
|
|
|
@ -92,7 +92,7 @@ void DVDReset();
|
|||
s32 DVDCancel(DVDCommandBlock* block);
|
||||
BOOL DVDOpen(char* fileName, DVDFileInfo* fileInfo);
|
||||
BOOL DVDFastOpen(s32 entrynum, DVDFileInfo* fileInfo);
|
||||
s32 DVDGetCommandBlockStatus(DVDCommandBlock* block);
|
||||
s32 DVDGetCommandBlockStatus(const DVDCommandBlock* block);
|
||||
BOOL DVDCancelAsync(DVDCommandBlock* block, DVDCBCallback callback);
|
||||
s32 DVDCancel(DVDCommandBlock* block);
|
||||
BOOL DVDCancelAllAsync(DVDCBCallback callback);
|
||||
|
|
|
@ -59,7 +59,7 @@ CIOWin::EMessageReturn CCredits::Update(float dt, CArchitectureQueue& queue) {
|
|||
x30_text.push_back(rstl::pair< rstl::single_ptr< CGuiTextSupport >, CVector2i >(
|
||||
new CGuiTextSupport(
|
||||
gpResourceFactory->GetResourceIdByName(gpTweakGui->GetCreditsFont().data())->id,
|
||||
CGuiTextProperties(true, true, kJ_Center, kVJ_Top),
|
||||
CGuiTextProperties(true, true, kJustification_Center, kVerticalJustification_Top),
|
||||
gpTweakGui->GetCreditsTextFontColor(), gpTweakGui->GetCreditsTextBorderColor(),
|
||||
CColor::White(), CGraphics::GetViewport().mWidth - 64, 0, gpSimplePool,
|
||||
CGuiWidget::kGMDF_Alpha),
|
||||
|
|
Loading…
Reference in New Issue