On 10/18/17 13:50, Dimond Stak wrote:
> Thanks Greg, it looks like draw_tab uses "Fl_Widget *push_;" but "push_" is private too.
Do you need it though?
You just need to re-implement draw_tab() to call Fl_Tabs::draw_tab(),
and then add your drawing code over that to draw the 'x', right? e.g.
class YourTabs : public Fl_Tabs {
..
void draw_tab(int x1, int x2, int W, int H, Fl_Widget* o, int sel=0) {
Fl_Tabs::draw_tab(x1,x2,W,H,o,sel);
// Add your 'x' drawing code here..
}