>
> For download, all of the code is inside of
> http://www.tantec.de/komponenten/FLTK/font_size/
>
> Please take care of Readme.txt and I need to point out, that I didn't
> succeed in creating a makefile working for windows.
>
> There are lots of german words and comments, but I think, we can start
> diskussion without need to translate it first. Missing explanations
> will come when up to date - for the moment I'm trying to start the
> existing stuff... ;o)
>
> Also saving and restore of settings is not mentioned. For use in FLTK it
> might be more easy, but I think, this is a good point to start.

Thanks for your contribution I did something like that too and got the same 
problem you've got and this is way I'm proposing add a bit more of cheap_rtti 
to fltk.

I finally managed to have search through inheritance too, with it we can do 
this:

------------
// generated by Fast Light User Interface Designer (fluid) version 1.0300

#ifndef resizablebyfont_h
#define resizablebyfont_h
#include <FL/Fl.H>
#include <vector>
typedef struct {
    int x, y, w, h;
    Fl_Fontsize labelsize, textsize;
    Fl_Widget *wdg;
    } st_size;
#include <FL/Fl_Double_Window.H>
#include <FL/Fl_Browser.H>
#include <FL/Fl_Input.H>
#include <FL/Fl_Button.H>

class Resizable_Window : public Fl_Double_Window {
  void _Resizable_Window();
public:
  Resizable_Window(int X, int Y, int W, int H, const char *L = 0);
  Resizable_Window(int W, int H, const char *L = 0);
private:
  void cb_Save_i(Fl_Button*, void*);
  static void cb_Save(Fl_Button*, void*);
  void cb_Cancel_i(Fl_Button*, void*);
  static void cb_Cancel%
_______________________________________________
fltk mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk

Reply via email to