Fix: bad colours in Militia Overview

git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8806 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
Flugente
2020-05-19 22:35:32 +00:00
parent 84afe6b160
commit 0f44c83b71
2 changed files with 15 additions and 1 deletions
+3 -1
View File
@@ -31,7 +31,9 @@ BaseTable::BaseTable( )
mMouseRegionActive(TRUE)
{
SetColorLine( Get16BPPColor( FROMRGB( 128, 128, 128 ) ) );
SetColorLineShadow( Get16BPPColor( FROMRGB( 255, 255, 255 ) ) );
SetColorLineShadow( Get16BPPColor( FROMRGB( 255, 78, 255 ) ) );
SetColorMarked( Get16BPPColor( FROMRGB( 200, 169, 87 ) ) );
SetColorHighLight( Get16BPPColor( FROMRGB( 235, 222, 171 ) ) );
}
void
+12
View File
@@ -503,16 +503,28 @@ MilitiaInidividualMainWidget::Create( UINT16 sX, UINT16 sY, UINT16 sX_End, UINT1
mPersonalDataPanel.Create( sX, sY + 50, sX_End, sY_End );
mPersonalDataPanel.SetName( szIdividualMilitiaWebsiteText[9] );
mPersonalDataPanel.SetColorLine( Get16BPPColor( FROMRGB( 128, 128, 128 ) ) );
mPersonalDataPanel.SetColorLineShadow( Get16BPPColor( FROMRGB( 255, 255, 255 ) ) );
mPersonalDataPanel.SetColorMarked( Get16BPPColor( FROMRGB( 200, 169, 87 ) ) );
mPersonalDataPanel.SetColorHighLight( Get16BPPColor( FROMRGB( 235, 222, 171 ) ) );
mPersonalData.Create( sX, sY + 50, sX_End, sY_End );
mPersonalDataPanel.RegisterMemberThingy( &mPersonalData );
mServiceRecordPanel.Create( sX, sY + 50, sX_End, sY_End );
mServiceRecordPanel.SetName( szIdividualMilitiaWebsiteText[10] );
mServiceRecordPanel.SetColorLine( Get16BPPColor( FROMRGB( 128, 128, 128 ) ) );
mServiceRecordPanel.SetColorLineShadow( Get16BPPColor( FROMRGB( 255, 255, 255 ) ) );
mServiceRecordPanel.SetColorMarked( Get16BPPColor( FROMRGB( 200, 169, 87 ) ) );
mServiceRecordPanel.SetColorHighLight( Get16BPPColor( FROMRGB( 235, 222, 171 ) ) );
mServiceRecord.Create( sX, sY + 50, sX_End, sY_End );
mServiceRecordPanel.RegisterMemberThingy( &mServiceRecord );
mItemPanel.Create( sX, sY + 50, sX_End, sY_End );
mItemPanel.SetName( szIdividualMilitiaWebsiteText[11] );
mItemPanel.SetColorLine( Get16BPPColor( FROMRGB( 128, 128, 128 ) ) );
mItemPanel.SetColorLineShadow( Get16BPPColor( FROMRGB( 255, 255, 255 ) ) );
mItemPanel.SetColorMarked( Get16BPPColor( FROMRGB( 200, 169, 87 ) ) );
mItemPanel.SetColorHighLight( Get16BPPColor( FROMRGB( 235, 222, 171 ) ) );
mItemsTable.Create( sX, sY + 50, sX_End, sY_End );
mItemPanel.RegisterMemberThingy( &mItemsTable );