mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
- colour TestTable scrollbar
- militia website sector filter uses longer names - prisoner surrender dialogue explains how many prisoners were captured, and allows selecting prison via dropdown selection - explain soldier relation boundaries on Melody website git-svn-id: https://ja2svn.mooo.com/source/ja2/trunk/GameSource/ja2_v1.13/Build@8228 3b4a5df2-a311-0410-b5c6-a8a6f20db521
This commit is contained in:
@@ -657,12 +657,19 @@ TestTable::Display( )
|
||||
UINT32 scrollareaheigth = (scrollbarheigth * shownentries) / totalentries;
|
||||
UINT32 areabegin = (scrollbarheigth * mFirstEntryShown) / totalentries;
|
||||
|
||||
ColorFillVideoSurfaceArea( FRAME_BUFFER,
|
||||
GetX( ) + GetWidth( ) - SCROLLARROW_WIDTH - 2,
|
||||
GetY( ) + SCROLLARROW_HEIGTH,
|
||||
GetX( ) + GetWidth( ) - 2,
|
||||
GetY( ) + SCROLLARROW_HEIGTH + GetHeight( ) - SCROLLARROW_HEIGTH,
|
||||
GetColorLineShadow( ) );
|
||||
|
||||
ColorFillVideoSurfaceArea( FRAME_BUFFER,
|
||||
GetX( ) + GetWidth( ) - SCROLLARROW_WIDTH - 2,
|
||||
GetY( ) + SCROLLARROW_HEIGTH + areabegin,
|
||||
GetX( ) + GetWidth( ) - 2,
|
||||
GetY( ) + SCROLLARROW_HEIGTH + areabegin + scrollareaheigth,
|
||||
Get16BPPColor( FROMRGB( 20, 250, 50 ) ) );
|
||||
GetColorLine() );
|
||||
|
||||
CreateScrollAreaButtons( );
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user