You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
923 B
42 lines
923 B
//========= Copyright © 1996-2005, Valve Corporation, All rights reserved. ============// |
|
// |
|
// Purpose: |
|
// |
|
// $Workfile: $ |
|
// $Date: $ |
|
// $NoKeywords: $ |
|
//=============================================================================// |
|
|
|
#ifndef ILOADINGDISC_H |
|
#define ILOADINGDISC_H |
|
#ifdef _WIN32 |
|
#pragma once |
|
#endif |
|
|
|
#include <vgui/VGUI.h> |
|
|
|
namespace vgui |
|
{ |
|
class Panel; |
|
} |
|
|
|
abstract_class ILoadingDisc |
|
{ |
|
public: |
|
virtual void Create( vgui::VPANEL parent ) = 0; |
|
virtual void Destroy( void ) = 0; |
|
|
|
// loading disc |
|
virtual void SetLoadingVisible( bool bVisible ) = 0; |
|
|
|
// paused disc |
|
virtual void SetPausedVisible( bool bVisible ) = 0; |
|
|
|
// level loading progress, returns true if the screen needs updating |
|
virtual bool UpdateProgressBar( float progress, const char *statusText ) = 0; |
|
virtual unsigned int GetLoadingVPANEL( void ) = 0; |
|
}; |
|
|
|
extern ILoadingDisc *loadingdisc; |
|
|
|
#endif // ILOADINGDISC_H
|