[fltk.general] Similar function to AfxGetApp()

2009-07-16 Thread Tomas Bym
Hello, is there any way in FLTK or simply C++, how to get a pointer to some main class from in any place of the code. Something similar to the MFC function AfxGetApp() for getting the pointer to the application class. What I need is some main class, where I want to have all application data and I

Re: [fltk.general] How to attach scrollbar for Multiline_output

2009-07-16 Thread Purnachandra
> Purnachandra wrote: > > I created multiline_output box and I am able to display data in that box, > > but when there is more data I couldn't see all the data, only I can see end > > of the data. I try to attach scroll bar to multiline_output box. It is not > > working for me. > > > > anyone ha

Re: [fltk.general] Mixer- was: drag on buttons? why?

2009-07-16 Thread Marc R.J. Brevoort
Hi Jane, Curious about your mixer, and wondering how much it needs to do. Here's a picture of a mixer class that I've built recently- It's probably possible to integrate it in other projects, as the interface is rather straightforward. http://ringbreak.dnd.utwente.nl/~mrjb/hd24tools/img/preview_

Re: [fltk.general] Button with pictures pressed and released

2009-07-16 Thread Marc R.J. Brevoort
On Thu, 4 Jun 2009, Michel Schmid wrote: > I want do draw a button in FLTK which contains pictures. Use Google to find my Fl_Image_Button widget. Best, Marc ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] How to attach scrollbar for Multiline_output

2009-07-16 Thread MacArthur, Ian (SELEX GALILEO, UK)
> > If you want scrollbars, use Fl_Text_Display instead of > Fl_Multiline_Output, eg: > > http://seriss.com/people/erco/fltk/#Fl_Text_Display > > > In my version Fl_Text_Display is not available. If I install > new version of FLTK all my old application might effected. Is > there any

Re: [fltk.general] Similar function to AfxGetApp()

2009-07-16 Thread Edzard Egberts
Tomas Bym schrieb: > Hello, is there any way in FLTK or simply C++, how to get a pointer > to some main class from in any place of the code. Simply C++ is to use a static pointer or class - everywhere you include the static pointer/class it will be the same. A simple example: Include file "s_dat

Re: [fltk.general] Similar function to AfxGetApp()

2009-07-16 Thread Edzard Egberts
Hmpf, my newsreader mangles the text by creating some underscore. Please be aware that parts containing underscores should look like this: > static_data::Set_Data(&Member_Data); ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/

[fltk.general] cancel <28785-fltk.gene...@news.easysw.com>

2009-07-16 Thread ed_09
This message was cancelled from within Mozilla. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk

Re: [fltk.general] How to attach scrollbar for Multiline_output

2009-07-16 Thread Purnachandra
> > > > If you want scrollbars, use Fl_Text_Display instead of=20 > > Fl_Multiline_Output, eg: > > > http://seriss.com/people/erco/fltk/#Fl_Text_Display > >=20 > >=20 > > In my version Fl_Text_Display is not available. If I install=20 > > new version of FLTK all my old application might effecte

Re: [fltk.general] How to attach scrollbar for Multiline_output

2009-07-16 Thread MacArthur, Ian (SELEX GALILEO, UK)
> My FLTK ver# 1.1.1.1 I'm sorry, I do not know what that means. Fltk version numbers are usually three digits, like fltk-1.1.9 or fltk-1.3.0 and so on. What do you get from running "fltk-config --version" ? On this box I get: $ fltk-config --version 1.1.10 (for fltk-1.1 from svn) And: $ fl

Re: [fltk.general] How to attach scrollbar for Multiline_output

2009-07-16 Thread Greg Ercolano
Purnachandra wrote: > In my version Fl_Text_Display is not available. If I install new version > of FLTK all my old application might effected. Is there any other options? Try Fl_Browser then. That should be there, even in the very old versions of FLTK, and will show multi

Re: [fltk.general] How to attach scrollbar for Multiline_output

2009-07-16 Thread Purnachandra
> > > My FLTK ver# 1.1.1.1 > > > I'm sorry, I do not know what that means. > > Fltk version numbers are usually three digits, like fltk-1.1.9 or > fltk-1.3.0 and so on. > > What do you get from running "fltk-config --version" ? > > On this box I get: > > $ fltk-config --version > 1.1.10 > (for fltk

[fltk.general] make failed

2009-07-16 Thread James Hearon
Hi, I've tried several versions of FLTK but cannot seem to get thru make. Any suggestions? filename_list.cxx: In function ‘int fl_filename_list(const char*, dirent***, int (*)(dirent**, dirent**))’: filename_list.cxx:93: error: invalid conversion from ‘int (*)(const void*, const void*)â

Re: [fltk.general] make failed

2009-07-16 Thread Jim Wilson
On 07/16/2009 03:49 PM, James Hearon wrote: > I've tried several versions of FLTK but cannot seem to get thru make. Any > suggestions? As time goes on, GCC get's more and more picky about naughty typecasting. I think I filed an STR on this problem. If you look at the sources for this module,