- 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:
Flugente
2016-05-20 22:39:29 +00:00
parent c0d25c3cb7
commit 74bebdd454
15 changed files with 109 additions and 81 deletions
+8 -1
View File
@@ -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( );
}