Re: [fltk.development] fl_old_shortcut() excluded from docs

2010-04-14 Thread Duncan Gibson
> I would suggest to add a declaration of fl_old_shortcut() > in file FL/fl_draw.H This should make it seen by Doxygen. >From what I remember of the great doxyfication last year, there are quite a few functions that are documented in "unexpected" places. This is especially true for the functions

Re: [fltk.development] shortcuts: intended vs. actual behavior

2010-04-14 Thread Duncan Gibson
> I'm trying to strengthen the docs on shortcut specifications, > and am finding there's contradicting behavior with casing of > the keyboard codes. (There's already an STR about this) > > What is the /intended/ behavior for shortcuts like: > > 'a' -- Should only lowercase 'a' trigger s

Re: [fltk.development] DirctFB branch

2010-04-14 Thread Kurt Van Dijck
On Wed, Apr 14, 2010 at 02:40:21AM +0400, Nikita Egorov wrote: > On Wed, Apr 14, 2010 at 1:41 AM, Kurt Van Dijck wrote: > > On Wed, Apr 14, 2010 at 12:30:34AM +0400, Nikita Egorov wrote: > [...] > > It's not my intention to start discussing TinyX vs. dfb, I'm just > > interested and know not that

Re: [fltk.development] fl_old_shortcut() excluded from docs

2010-04-14 Thread manolo gouy
> > > I would suggest to add a declaration of fl_old_shortcut() > > in file FL/fl_draw.H This should make it seen by Doxygen. > > From what I remember of the great doxyfication last year, there > are quite a few functions that are documented in "unexpected" > places. This is especially true for the

Re: [fltk.development] DirctFB branch

2010-04-14 Thread Nikita Egorov
> Interesting. > Am I right that if one was able to create a dfb graphics driver, he/she > should be able to create an X11 driver too? It looks to me both do > similar things (although I've never written either of them). No, you may have no fb driver at all if the frame buffer is not necessary for

Re: [fltk.development] DirctFB branch

2010-04-14 Thread imacarthur
On 13 Apr 2010, at 22:41, Kurt Van Dijck wrote: > It's not my intention to start discussing TinyX vs. dfb, I'm just > interested and know not that much of dfb. > * Does dfb make use of hardware acceleration in userspace, or kernel > framebuffer drivers? My understanding (and this is probably wro

Re: [fltk.development] [fltk.commit] [Library] r7497 - branches/branch-1.3/src

2010-04-14 Thread imacarthur
On 13 Apr 2010, at 23:15, Michael Sweet wrote: > It's been a while, but Mike, how can you say that - you were *the* GL guy...! :-) ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev

Re: [fltk.development] GL text drawing on the Mac

2010-04-14 Thread Ian MacArthur
> The fl_text_extents rectangle is smaller than the fl_measure one. > But fl_draw() seems to expect a surface the size of fl_measure > to do its job, and seems unhappy when given a bitmap only the size of > fl_text_extents. Ah... yes, fl_draw makes a fair bit of use of fl_height and fl_width, tha

[fltk.development] gl_draw - what does this actually do?

2010-04-14 Thread Ian MacArthur
All, This is in fltk-1.3 r7500. Inspired by Manlolo's work on rendering utf8 strings under GL on OSX, I was digging into gl_draw.cxx a bit. (It's not pretty, and some of the mess is mine...) However, that aside, I was looking at gl_draw() near line 228 we have: for (i = 0; i < n; i++) {

Re: [fltk.development] [fltk.commit] [Library] r7497 - branches/branch-1.3/src

2010-04-14 Thread Michael Sweet
On Apr 14, 2010, at 3:24 AM, imacarthur wrote: > On 13 Apr 2010, at 23:15, Michael Sweet wrote: > >> It's been a while, but > > Mike, how can you say that - you were *the* GL guy...! :-) I haven't done any serious OpenGL programming in 15 years - a lot has changed since then... _

Re: [fltk.development] fl_old_shortcut() excluded from docs

2010-04-14 Thread Greg Ercolano
manolo gouy wrote: >> So fl_draw.H is one of the catch-all locations for the doxygen >> comments for these functions. I tried to add a non-doxygen comment >> explaining why they were documented in an "unexpected" file and >> not in the real implentation/header file. >> >> D. > > Greg: I've checked

Re: [fltk.development] utf-8 to do list: handling of non-utf8-conforming text

2010-04-14 Thread Bill Spitzak
Albrecht Schlosser wrote: > I added this point to the TODO.utf8 file: > >* Rendering and measuring of non-utf8-conforming text My preference is to convert invalid UTF-8 byte sequences by turning each byte into it's equivalent in CP1252 (the Windows "ANSI" "code page"). There is no "mode", i

Re: [fltk.development] Propose to make "voiddo_callback(Fl_Widget*o, void*arg=0)" virtual to facilitate bindings and inheritance

2010-04-14 Thread Bill Spitzak
Fabien Costantini wrote: > IMHO, I believe that, would we add this action() virtual method, > the protoype should be : > > virtual int action(); > > And then action() should be called _before_ the potential do_callback() I would have the default version of action() run do_callback() and requir