- Use smart_ptr for tooltips into schedulable_state_widget. Closes task #3.
git-svn-id: svn://svn.gna.org/svn/sgpemv2/trunk@984 3ecf2c5c-341e-0410-92b4-d18e462d057c
This commit is contained in:
parent
ad774067e1
commit
6f2c9c3252
2 changed files with 16 additions and 7 deletions
|
@ -27,7 +27,8 @@
|
|||
#include "cairo_elements.hh"
|
||||
#include "cairo_widget.hh"
|
||||
|
||||
#include "glibmm/refptr.h"
|
||||
#include "smartp.tcc"
|
||||
|
||||
#include "gtkmm/tooltips.h"
|
||||
|
||||
namespace sgpem
|
||||
|
@ -50,8 +51,10 @@ namespace sgpem
|
|||
virtual void calc_widget_size(size_t& width, size_t& height) const;
|
||||
|
||||
private:
|
||||
Color _color;
|
||||
static Gtk::Tooltips* _ttips;
|
||||
static memory::smart_ptr<Gtk::Tooltips> _global_ttips;
|
||||
|
||||
Color _color;
|
||||
memory::smart_ptr<Gtk::Tooltips> _ttips;
|
||||
};
|
||||
|
||||
} //~ namespace sgpem
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue