mirror of
https://github.com/1dot13/source.git
synced 2026-07-22 13:40:22 +02:00
Remove unused ATMOther2ButtonCallback
This commit is contained in:
committed by
majcosta
parent
00b5758af1
commit
6c96b80afc
@@ -427,7 +427,6 @@ void HandleStateOfATMButtons( void );
|
||||
|
||||
// atm misc functions
|
||||
|
||||
void ATMOther2ButtonCallback(GUI_BUTTON *btn,INT32 reason);
|
||||
void DisplayATMStrings( void );
|
||||
void DisplayAmountOnCurrentMerc( void );
|
||||
void RenderRectangleForPersonnelTransactionAmount( void );
|
||||
@@ -5960,39 +5959,6 @@ void PersonnelDataButtonCallback( GUI_BUTTON *btn, INT32 reason )
|
||||
}
|
||||
}
|
||||
|
||||
void ATMOther2ButtonCallback(GUI_BUTTON *btn,INT32 reason)
|
||||
{
|
||||
INT32 iValue = 0;
|
||||
|
||||
if (!(btn->uiFlags & BUTTON_ENABLED))
|
||||
return;
|
||||
|
||||
iValue = MSYS_GetBtnUserData( btn, 0 );
|
||||
|
||||
if(reason & MSYS_CALLBACK_REASON_LBUTTON_DWN )
|
||||
{
|
||||
if(!(btn->uiFlags & BUTTON_CLICKED_ON))
|
||||
{
|
||||
fReDrawScreenFlag=TRUE;
|
||||
}
|
||||
btn->uiFlags|=(BUTTON_CLICKED_ON);
|
||||
|
||||
switch( iValue )
|
||||
{
|
||||
case( DEPOSIT_ATM ):
|
||||
fATMFlags = 2;
|
||||
fReDrawScreenFlag=TRUE;
|
||||
ButtonList[ giPersonnelATMSideButton[ WIDTHDRAWL_ATM ] ]->uiFlags&=~(BUTTON_CLICKED_ON);
|
||||
break;
|
||||
case( WIDTHDRAWL_ATM ):
|
||||
fATMFlags = 3;
|
||||
fReDrawScreenFlag=TRUE;
|
||||
ButtonList[ giPersonnelATMSideButton[ DEPOSIT_ATM ] ]->uiFlags&=~(BUTTON_CLICKED_ON);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
void ATMNumberButtonCallback(GUI_BUTTON *btn,INT32 reason)
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user