Team Fortress 2 Source Code as on 22/4/2020
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.

37 lines
1.1 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //=============================================================================//
  7. #ifndef ITEM_CONFIRM_DELETE_DIALOG_H
  8. #define ITEM_CONFIRM_DELETE_DIALOG_H
  9. #ifdef _WIN32
  10. #pragma once
  11. #endif
  12. #include "confirm_delete_dialog.h"
  13. #include "vgui_controls/EditablePanel.h"
  14. #include "econ_controls.h"
  15. #include "item_pickup_panel.h"
  16. #include "vgui_controls/ScrollableEditablePanel.h"
  17. #include "GameEventListener.h"
  18. //-----------------------------------------------------------------------------
  19. // Purpose:
  20. //-----------------------------------------------------------------------------
  21. class CConfirmDeleteItemDialog : public CConfirmDeleteDialog
  22. {
  23. DECLARE_CLASS_SIMPLE( CConfirmDeleteItemDialog, CConfirmDeleteDialog );
  24. public:
  25. CConfirmDeleteItemDialog( vgui::Panel *parent, bool bMultiItem = false );
  26. void SetMultiItem( bool bMultiItem ) { m_bMultiItem = bMultiItem; }
  27. virtual const wchar_t *GetText();
  28. private:
  29. bool m_bMultiItem;
  30. };
  31. #endif // ITEM_CONFIRM_DELETE_DIALOG_H