mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-06-08 08:18:13 +00:00
34 lines
664 B
C++
34 lines
664 B
C++
#ifndef OBJECTIVEPANEL_H
|
|
#define OBJECTIVEPANEL_H
|
|
|
|
#ifdef _WIN32
|
|
#pragma once
|
|
#endif
|
|
|
|
#include <vgui/VGUI.h>
|
|
#include <vgui_controls/Panel.h>
|
|
|
|
class C_ASW_Player;
|
|
class Label;
|
|
class ImagePanel;
|
|
|
|
// this panel is used during the briefing to show a particular objective name and image in the list on the left
|
|
|
|
class ObjectivePanel : public vgui::Panel
|
|
{
|
|
DECLARE_CLASS_SIMPLE( ObjectivePanel, vgui::Panel );
|
|
public:
|
|
ObjectivePanel(Panel *parent, const char *name);
|
|
virtual ~ObjectivePanel();
|
|
|
|
virtual void PerformLayout();
|
|
|
|
vgui::Label* m_ObjectiveLabel;
|
|
vgui::ImagePanel* m_ObjectiveImagePanel;
|
|
|
|
bool m_bImageSet, m_bTextSet;
|
|
};
|
|
|
|
|
|
#endif // OBJECTIVEPANEL_H
|