This commit is contained in:
2024-08-07 09:16:27 -04:00
parent fdfadd5c7e
commit 5f971cf684
5200 changed files with 731717 additions and 0 deletions

41
statbar/statbarx.hpp Normal file
View 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