This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
neofx-zoomedit/SidebarAdd.h

30 lines
585 B
C++

#ifndef SIDEBARADD_H_
#define SIDEBARADD_H_
#include "Sidebar.h"
#include "EditManager.h"
class SidebarAdd : public Sidebar {
private:
GtkWidget *sidebar;
GtkWidget *buttonAdd;
EditManager *editor;
// prevent shallow copy
SidebarAdd(const SidebarAdd &w);
const SidebarAdd& operator=(const SidebarAdd &w);
static void buttonClicked(GtkButton *button, SidebarAdd *sidebar);
public:
SidebarAdd(EditManager *editor);
virtual ~SidebarAdd();
GtkWidget* getWidget();
void update();
};
#endif /*SIDEBARADD_H_*/