mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
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:
@@ -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
|
||||
|
||||
@@ -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 );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user