* add statusbar->patches count
This commit is contained in:
@@ -118,28 +118,17 @@ void QE_InitVFS(){
|
||||
}
|
||||
}
|
||||
|
||||
int g_numbrushes = 0;
|
||||
int g_numentities = 0;
|
||||
|
||||
void QE_UpdateStatusBar(){
|
||||
SimpleCounter g_brushCount;
|
||||
SimpleCounter g_patchCount;
|
||||
SimpleCounter g_entityCount;
|
||||
|
||||
void QE_brushCountChanged(){
|
||||
char buffer[128];
|
||||
sprintf( buffer, "Brushes: %d Entities: %d", g_numbrushes, g_numentities );
|
||||
sprintf( buffer, "Brushes: %u Patches: %u Entities: %u", Unsigned( g_brushCount.get() ), Unsigned( g_patchCount.get() ), Unsigned( g_entityCount.get() ) );
|
||||
g_pParentWnd->SetStatusText( g_pParentWnd->m_brushcount_status, buffer );
|
||||
}
|
||||
|
||||
SimpleCounter g_brushCount;
|
||||
|
||||
void QE_brushCountChanged(){
|
||||
g_numbrushes = int(g_brushCount.get() );
|
||||
QE_UpdateStatusBar();
|
||||
}
|
||||
|
||||
SimpleCounter g_entityCount;
|
||||
|
||||
void QE_entityCountChanged(){
|
||||
g_numentities = int(g_entityCount.get() );
|
||||
QE_UpdateStatusBar();
|
||||
}
|
||||
|
||||
bool ConfirmModified( const char* title ){
|
||||
if ( !Map_Modified( g_map ) ) {
|
||||
|
||||
Reference in New Issue
Block a user