mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-04-01 09:05:27 +00:00
implement separated tab label class
This commit is contained in:
parent
6e115ca3c1
commit
88e5ba3736
6 changed files with 87 additions and 46 deletions
|
|
@ -2,24 +2,21 @@
|
|||
#define APP_BROWSER_MAIN_TAB_HPP
|
||||
|
||||
#include <glibmm/i18n.h>
|
||||
#include <gtkmm/gestureclick.h>
|
||||
#include <gtkmm/label.h>
|
||||
#include <gtkmm/notebook.h>
|
||||
|
||||
namespace app::browser::main
|
||||
{
|
||||
namespace tab
|
||||
{
|
||||
class Label;
|
||||
}
|
||||
|
||||
class Tab : public Gtk::Notebook
|
||||
{
|
||||
private:
|
||||
|
||||
void on_label_click(
|
||||
int n,
|
||||
double x,
|
||||
double y
|
||||
);
|
||||
|
||||
public:
|
||||
|
||||
tab::Label * label;
|
||||
|
||||
Tab();
|
||||
|
||||
~Tab();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue