mirror of
https://github.com/1dot13/source.git
synced 2026-08-19 14:20:30 +02:00
Remove pSecondColumnString
* Use the new columns added to Text instead * Changed most functions to allow choosing a column * Removed unneeded SecondColumn specific functions to lessen code duplication * Lots of formatting changes to Popupbox.cpp, indentation was messed up in majority of the functions
This commit is contained in:
@@ -180,11 +180,12 @@ void CreateDestroyTownInfoBox( void )
|
||||
// set highlight color
|
||||
SetBoxHighLight(ghTownMineBox, FONT_WHITE);
|
||||
|
||||
SetBoxSecondColumnForeground( ghTownMineBox, FONT_WHITE );
|
||||
SetBoxSecondColumnBackground( ghTownMineBox, FONT_BLACK );
|
||||
SetBoxSecondColumnHighLight( ghTownMineBox, FONT_WHITE );
|
||||
SetBoxSecondColumnShade( ghTownMineBox, FONT_BLACK );
|
||||
SetBoxSecondColumnFont( ghTownMineBox, BLOCKFONT2 );
|
||||
const auto column = 1;
|
||||
SetBoxColumnForeground( ghTownMineBox, FONT_WHITE, column );
|
||||
SetBoxColumnBackground( ghTownMineBox, FONT_BLACK, column );
|
||||
SetBoxColumnHighLight( ghTownMineBox, FONT_WHITE, column );
|
||||
SetBoxColumnShade( ghTownMineBox, FONT_BLACK, column );
|
||||
SetBoxColumnFont( ghTownMineBox, BLOCKFONT2, column );
|
||||
SetBoxSecondColumnMinimumOffset( ghTownMineBox, 20 );
|
||||
|
||||
// unhighlighted color
|
||||
|
||||
Reference in New Issue
Block a user