1 Star 0 Fork 0

yoyojacky/CSMoE

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
ScrollableEditablePanel.h 1.26 KB
一键复制 编辑 原始数据 按行查看 历史
//========= Copyright ?1996-2001, Valve LLC, All rights reserved. ============
//
// Purpose:
//
// $NoKeywords: $
//=============================================================================
#ifndef SCROLLABLEEDITABLEPANEL_H
#define SCROLLABLEEDITABLEPANEL_H
#ifdef _WIN32
#pragma once
#endif
#include "EditablePanel.h"
//-----------------------------------------------------------------------------
// Forward declarations
//-----------------------------------------------------------------------------
namespace vgui2
{
class ScrollBar;
}
namespace vgui2
{
//-----------------------------------------------------------------------------
// An editable panel that has a scrollbar
//-----------------------------------------------------------------------------
class ScrollableEditablePanel : public vgui2::EditablePanel
{
DECLARE_CLASS_SIMPLE( ScrollableEditablePanel, EditablePanel );
public:
ScrollableEditablePanel( vgui2::Panel *pParent, vgui2::EditablePanel *pChild, const char *pName );
virtual ~ScrollableEditablePanel() {}
virtual void PerformLayout();
MESSAGE_FUNC( OnScrollBarSliderMoved, "ScrollBarSliderMoved" );
private:
vgui2::ScrollBar *m_pScrollBar;
vgui2::EditablePanel *m_pChild;
};
} // end namespace vgui
#endif // SCROLLABLEEDITABLEPANEL_H
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/yoyojacky/CSMoE.git
git@gitee.com:yoyojacky/CSMoE.git
yoyojacky
CSMoE
CSMoE
master

搜索帮助