Initial
This commit is contained in:
41
statbar/statbarx.hpp
Normal file
41
statbar/statbarx.hpp
Normal file
@@ -0,0 +1,41 @@
|
||||
#ifndef _STATBAR_STATUSBAREX_HPP_
|
||||
#define _STATBAR_STATUSBAREX_HPP_
|
||||
#ifndef _COMMON_STRING_HPP_
|
||||
#include <common/string.hpp>
|
||||
#endif
|
||||
#ifndef _COMMON_STATUSWINDOW_HPP_
|
||||
#include <common/status.hpp>
|
||||
#endif
|
||||
#ifndef _COMMON_SMARTPOINTER_HPP_
|
||||
#include <common/pointer.hpp>
|
||||
#endif
|
||||
#ifndef _STATBAR_STATBARMENU_HPP_
|
||||
#include <statbar/statmenu.hpp>
|
||||
#endif
|
||||
|
||||
class StatusBarEx : public StatusControl, public StatusBarMenu
|
||||
{
|
||||
public:
|
||||
StatusBarEx(GUIWindow &parentWindow,UINT controlID);
|
||||
StatusBarEx(GUIWindow &frameWindow,GUIWindow &clientWindow,UINT controlID);
|
||||
virtual ~StatusBarEx();
|
||||
StatusBarEx &operator=(const GUIWindow &someGUIWindow);
|
||||
StatusBarEx &operator=(const PureMenu &somePureMenu);
|
||||
BOOL setSequentialResourceDescriptors(UINT menuId,UINT stringID,WORD itemCount);
|
||||
BOOL setSequentialResourceLabels(UINT stringID,WORD itemCount);
|
||||
void setText(const String &strText);
|
||||
void setText(const String &strText,UINT partIndex);
|
||||
private:
|
||||
StatusBarEx &operator=(const StatusBarEx &someStatusBarEx);
|
||||
CallbackData::ReturnType sizeHandler(CallbackData &someCallbackData);
|
||||
CallbackData::ReturnType menuSelectHandler(CallbackData &someCallbackData);
|
||||
|
||||
BOOL setStatBarText(PureMenu &somePureMenu,WORD redrawFlag);
|
||||
BOOL setStatBarText(int itemID,WORD redrawFlag);
|
||||
|
||||
Callback<StatusBarEx> mMenuSelectHandler;
|
||||
Callback<StatusBarEx> mSizeHandler;
|
||||
SmartPointer<GUIWindow> mParentWindow;
|
||||
SmartPointer<GUIWindow> mClientWindow;
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user