mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 06:05:58 -06:00
FileTabsExample added MultiList package removed. Reason: Promoted to uppsrc. QuickTabsTest removed. Reason: Redundant git-svn-id: svn://ultimatepp.org/upp/trunk@1271 f0d560ea-af0d-0410-9eb7-867de7ffcac7
41 lines
905 B
C++
41 lines
905 B
C++
#ifndef _FileTabsExample_FileTabsExample_h
|
|
#define _FileTabsExample_FileTabsExample_h
|
|
|
|
#include <CtrlLib/CtrlLib.h>
|
|
#include <TabBar/TabBar.h>
|
|
using namespace Upp;
|
|
|
|
#define LAYOUTFILE <FileTabsExample/FileTabsExample.lay>
|
|
#include <CtrlCore/lay.h>
|
|
|
|
class FileTabsExample : public WithFileTabsExampleLayout<TopWindow> {
|
|
private:
|
|
FileTabs bar[4];
|
|
String barbackup;
|
|
public:
|
|
typedef FileTabsExample CLASSNAME;
|
|
FileTabsExample();
|
|
|
|
// TabBar events
|
|
void OnCursor();
|
|
bool OnCloseConfirm(Value v);
|
|
bool OnCloseAllConfirm();
|
|
// Buttons
|
|
void OnAdd();
|
|
void OnInsert();
|
|
// Options
|
|
void OnGrouping();
|
|
void OnGroupSort();
|
|
void OnSeparators();
|
|
void OnStacking();
|
|
void OnIcons();
|
|
void OnPrompt();
|
|
void OnAllAlign();
|
|
void OnInactive();
|
|
// Ctrl overloads
|
|
virtual bool Key(dword key, int count);
|
|
virtual void DragAndDrop(Point p, PasteClip& d);
|
|
};
|
|
|
|
#endif
|
|
|