mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 22:02:58 -06:00
27 lines
563 B
C++
27 lines
563 B
C++
#ifndef _ToolBarAsCtrl_ToolBarAsCtrl_h
|
|
#define _ToolBarAsCtrl_ToolBarAsCtrl_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
|
|
using namespace Upp;
|
|
|
|
#define LAYOUTFILE <ToolBarAsCtrl/ToolBarAsCtrl.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
class ToolBarAsCtrl : public WithToolBarAsCtrlLayout<TopWindow> {
|
|
private:
|
|
ToolBar tb;
|
|
EditString h;
|
|
|
|
public:
|
|
virtual void Paint(Draw& w) { w.DrawRect(GetSize(), LtCyan); }
|
|
|
|
typedef ToolBarAsCtrl CLASSNAME;
|
|
ToolBarAsCtrl();
|
|
void DoNothing();
|
|
void ShowToolBarButtons();
|
|
void Layout();
|
|
void MyBar(Bar& tb);
|
|
};
|
|
|
|
#endif
|