Re: [fltk.general] fltk2.0.x-alpha-r9296 missing
fltk-2 is, as you know, deprecated, and no one is available to maintain nor= fix it, so we can't really go on distributing it, until it gets fixed... Sure you can distribute it. It is there in the main page, what version to download. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] fltk2.0.x-alpha-r9296 missing
The 2.0.x branch is missing from the download area and the trunk does not compile out of the box. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.bugs] [CRIT] STR #2937: Windows maximize-minimize-restore button creates a window over taskbar
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2937 Version: 2.0-current When using the maximize button and then the minimize button all goes well. The icon is in the taskbar. But clicking the icon of the taskbar maximizes the window beyond the taskbar (which hides part of it). Problem appears in all fltk2 demos. Link: http://www.fltk.org/str.php?L2937 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.development] fltk1.3 namespace in fluid
I am trying to port my viewer from fltk2 to fltk1.3. However the later lacks namespaces. Any plan on adding namespaces to fluid 1.3? ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
[fltk.general] maximize, minimize to taskbar and open again
Maximizing a window, then minimizing it to an icon in the taskbar, and then opening that same icon creates a window that covers up to the taskbar, but it is behind it. The problem shows in all demos of fltk2.0. Fltk1.2 seems fine. Can somebody help? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] maximize, minimize to taskbar and open again
Maximizing a window, then minimizing it to an icon in the taskbar, and then opening that same icon creates a window that covers up to the taskbar, but it is behind it. The problem shows in all demos of fltk2.0. Fltk1.2 seems fine. Can somebody help? Gonzalo, Do you *really* mean fltk2.0 and fltk1.2? Sorry. I meant fltk2.0 and fltk1.3. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] fltk1.3 namespace in fluid
I am trying to port my software from flkt2 to fltk1.3. However fluid1.3 complains due to lacking namespaces. Any chance of adding namespaces to fluid1.3 or a work-around? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] OT: Making application run once
I would like my application to have only one instance of it running at a time. However I am unsure how to implement this. If the user opens another instance the contents of what it opened should go to the already opened instance. As an example, I would put emacs. How would I go about coding this? Pipes? Sockets? None of the above. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] fltk2.0's filename_list not working with utf8
On 11/03/12 18:26, Gonzalo Garramuno wrote: I am working on windows and fltk2.0's filename_list returns 0 elements when the directory is unicode like: C:/Users/gga/Documents/Mis vâ¡deos/ I checked the fltk code and the scandir of windows it seems it should work fine, but it doesn't. Do you find the regular C library functions aren't working correctly with the filenames? eg. scandir()/opendir()/readdir()? scandir is the problem. It works on some directories with accents and not on others. It seems it has problems on those directories that are fake in Windows, as they are the translation of some other directory. Example: My videos for Mis vÃdeos. If I create a directory Mis vÃdeos somewhere in the filesystem, I can scandir it properly. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] fltk2.0's filename_list not working with utf8
Probably worth checking fltk-1.3; it was developed much later than fltk2 = and has seen more testing, and it is believed (hoped?) that the Unicode = support is more complete! I checked both 1.3 and 3.0 and they are both broken in similar ways. The conversion function to wide strings does not work properly. I tested by using fluid's file requester in a directory that have accented characters in Spanish. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] fltk2.0 is missing from download page
Subject says it all. Is it time to upgrade to fltk3? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] fltk2.0's filename_list not working with utf8
I am working on windows and fltk2.0's filename_list returns 0 elements when the directory is unicode like: C:/Users/gga/Documents/Mis vâ¡deos/ I checked the fltk code and the scandir of windows it seems it should work fine, but it doesn't. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] Unmapped Windows Network access
On 10/21/12 09:33, Greg Ercolano wrote: So I can handle reading only so much about Win32 before I get ill, so I'm gonna have to stop there before I barf. Thanks, Greg. But the hooks in windows are not enough. I need to show frame sequences as file..exr and allow selection of them. I already have a file requester people like. However, it cannot access the windows network like explorer does. So far the solution is to use drag and drop from explorer into my application, but it is far from optimal. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] Unmapped Windows Network access
I was wondering if some file requester in fltk allows access to the network files on a windows network that does not map the dirs to a path. Instead, the paths are like //machine//drive//dir, I need a custom file requester, not the native platform requester, btw. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] UTF8 filenames
I presume you are using the MSWindows platform. I'm dealing with in Windows and Linux. I am using the boost::filesystem to check the existence of paths and in that it also fails so fltk_open only solves the issue partially. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] UTF8 filenames
I am having a problem with drag and drop filenames in fltk2. Basically, it seems the strings I get are utf8 as they contain Spanish accents (and they show fine in any fltk window like fltk::alert). However, when I pass the string to fopen(), it fails to open the file. I'm wondering what is the right behavior here? Should I use utf8toa to convert the string? Should I use a version of fopen for utf8 (how? which function?). ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] X11 Decorations after fullscreen
On 09/13/12 14:46, Gonzalo Garramuno wrote: Windows is fine. I run Ubuntu with KDE and that shows the problem. Fedora 3 + KDE works OK. Gonzalo, what /version/ of Ubuntu? Oneric Ocelot (11.10). ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] X11 Decorations after fullscreen
On 09/13/12 14:46, Gonzalo Garramuno wrote: Windows is fine. I run Ubuntu with KDE and that shows the problem. Fedora 3 + KDE works OK. Gonzalo, what /version/ of Ubuntu? Oneric Ocelot (11.10). But in Kubuntu form ( KDE already installed ). ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.bugs] [MOD] STR #2872: Fullscreen and then off does not return the border decorations
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L2872 Version: 2.0-current With Ubuntu-KDE window manager, doing a fullscreen of a window and then turning fullscreen off does not return the window decorations. border seems to do nothing. The problem also appears with the fullscreen demo of fltk. Link: http://www.fltk.org/str.php?L2872 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.general] X11 Decorations after fullscreen
On 8 Sep 2012, at 16:51, Greg Ercolano wrote: =20 Tried on ubuntu 10.04 + Gnome, works OK too. =20 I think we need linux distro release numbers + window manager names to track this. Well, in case anyone is keeping score: Ubuntu 12.04 + unity works fine = too with fltk-1.3.current and fltk-3.current. Also, OSX is fine and WinXP seems fine, maybe! Windows is fine. I run Ubuntu with KDE and that shows the problem. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] X11 Decorations after fullscreen
On my Linux box (Kubuntu), doing a fullscreen and turning it off does not create the window's decorations back again. The problem is not there on Win32 or Win64. The problem appears in all versions of fltk (although I am interested in fltk2). It seems FLTK is not playing nicely with the window manager. Can someone provide a solution? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] Miter/Round Lines in OpenGL
I was wondering if someone had code to draw lines in opengl with mitter or round edges. That is, using a polygon to draw the lines. I found some code online but it is broken. fltk has some really nice drawing routines, but I think I cannot overlap them onto an opengl image, right? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] libintl and fluid
Thanks for the long help, Erco. I just hacked fluid2 to spit code always as gettext. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] libintl and fluid
On 08/10/12 06:52, Gonzalo Garramuno wrote: I was wondering how to use gettext with fluid. There's a bit about this in the fluid docs: http://www.fltk.org/doc-1.3/fluid.html#fluid_i18n ..there's a section on Using GNU gettext for i18n It'd be good for us to know if there's still questions, as these docs should be sufficient to get things working. There are still questions as I am using fltk2.0 and fluid2 seems to be missing the option. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] Compiling fltk3
I'm trying to compile fltk3 but it fails with: Compiling fltk3png/png.c... fltk3png/png.c:14:21: fatal error: pngpriv.h: No such file or directory The file is in include/fltk3png, but the makefile does not refer to it. I also tried compiling with cmake but the errors were worse. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] libintl and fluid
I was wondering how to use gettext with fluid. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] Customizable shortcuts
I have a request for customizable shortcuts and mouse control in my program and I am a little lost on how to implement this in fltk. Does anyone have any example? Can you expand on this a bit? What is actually wanted? I guess I know what customizable shortcuts means - it means allowing the = user to define what keyboard combination will invoke each menu-option or wi= dget. Is that correct? Yes. About the mouse control is to allow different behavior with the mouse buttons or movement to simulate, for example, the behavior of Autodesk Maya or the behavior of 3dMax. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] Customizable shortcuts
I have a request for customizable shortcuts and mouse control in my program and I am a little lost on how to implement this in fltk. Does anyone have any example? ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] FLTK X11 icon
Gonzalo Garramuno schrieb: window must be shown before setting the icon. Thanks, that prevents the crash but the icon is not shown in the window. Yes, to show the icon, it must be set, before the window is shown. Maybe this helps: int main( int argc, char** argv ) { fltk::Window window( 120, 220 ); window.show(); Pixmap p, mask; fl_open_display(); if ( XpmCreatePixmapFromData(fltk::xdisplay, DefaultRootWindow(fltk::xdisplay), viewer_xpm, p,mask, NULL) == XpmSuccess ) Thanks, but the icon is still not shown under Kubuntu. I have no transparency in the icon so that's not the issue. ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.general] FLTK X11 icon
window must be shown before setting the icon. Jacques Senecal. Thanks, that prevents the crash but the icon is not shown in the window. I have this now: #include fltk/x11.h #include fltk/run.h #include fltk/Window.h #include X11/xpm.h #include ../icons/viewer.xpm #include iostream int main( int argc, char** argv ) { fltk::Window window( 120, 220 ); window.show(); Pixmap p, mask; if ( XpmCreatePixmapFromData(fltk::xdisplay, DefaultRootWindow(fltk::xdisplay), viewer_xpm, p, mask, NULL) == XpmSuccess ) { // uncomment to crash program window.icon((char *)p); std::cerr set icon std::endl; } fltk::run(); return 0; } ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.general] FLTK X11 icon
I have a sample code that crashes when the icon is loaded. The icon is a multicolored icon of 32x32. #include fltk/x11.h #include fltk/run.h #include fltk/Window.h #include X11/xpm.h #include ../icons/viewer.xpm int main( int argc, char** argv ) { fltk::Window window( 120, 220 ); fltk::open_display(); // needed if display has not been previously opened Pixmap p, mask; if ( XpmCreatePixmapFromData(fltk::xdisplay, DefaultRootWindow(fltk::xdisplay), viewer_xpm, p, mask, NULL) == XpmSuccess ) { // uncomment to crash program //window.icon((char *)p); } window.show( ); fltk::run(); } ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
[fltk.bugs] [HIGH] STR #1851: Out of source builds not working
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1851 Version: 2.0-current This problem effects both 1.0 and 2.0. Basically, albeit fltk is using autotools, it is not possible to compile out of source. The problem is that the build creates some crappy Fl symlinks which break the build when not in the root of the tree. These symlinks should be removed. To reproduce: mkdir linux-32 cd linux-32 ../configure make ## build will fail Link: http://www.fltk.org/str.php?L1851 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.general] Radial menus?
I was wondering if anyone had implemented a fltk class to render menus in a radial (pie-like) fashion? -- Gonzalo Garramuño Film Aura A New Dawn in Media Companies [EMAIL PROTECTED] http://www.filmaura.com ___ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk
Re: [fltk.bugs] [HIGH] STR #1804: MOVE in handle(int event) broken
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1804 Version: 2.0-current Move definitively works on those releases as I'm using it. What widgets are you seeing the problem with? Link: http://www.fltk.org/str.php?L1804 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [MOD] STR #1807: FLUID's functions are not spit in the specified order
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1807 Version: 2.0-current Currently, if you define a function in FLUID, when the code is generated, FLUID does not respect the order in which the function is listed in the hierarchy. If this function is used inside a widget callback, the callbacks may appear as inline functions before the function is defined. This can lead to linking to fail. Link: http://www.fltk.org/str.php?L1807 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [HIGH] STR #1808: FLTK2's fluid does respect namespaces correctly
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1808 Version: 2.0-current When you create a namespace inside your .fl definition, FLTK2's fluid will create a cxx file that clearly does not respect the namespace correctly. Instead of doing a: namespace XXX { ...widgets... ...functions... } and adding all widgets and functions inside the namespace, fltk2's fluid creates a .cxx file that does: using namespace XXX; ...widgets... ...functions... While this amazingly compiles, it is SO wrong that I have no words to begin to describe it. By Doing this FLTK is flattening the namespace which can lead to all sorts of weird name clashes. Link: http://www.fltk.org/str.php?L1808 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [MOD] STR #1780: FLTK, CMake, and VC8
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1780 Version: 1.1.7 Last time I tried it, the current CMakeLists.txt in fltk1.1 is indeed incomplete for some build type (don't recall which one - i think shared). That being said, if you build a shared lib on windows (DLL), you end up with both a .DLL and a .LIB file. Albeit .LIB is confusingly ALSO used on windows for static libraries, the content of the files are different when using it for a shared library. When linking your executable, you always link against the .LIB file regardless. When using a DLL, the .lib file which is really just a stub for the location of the DLL functions. The .DLL is only used at runtime, never during linking. Link: http://www.fltk.org/str.php?L1780 Version: 1.1.7 ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [MOD] STR #1775: fltk::Group's style is not named
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1775 Version: 2.0-feature fltk's Group contains a style that is not named. Contrary to what Group.cxx says, this style needs to be named and exposed, as some styles cannot be created otherwise (set_background() is not enough). Link: http://www.fltk.org/str.php?L1775 Version: 2.0-feature ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [MOD] STR #1755: FLTK2's widget's timeout fltk::event_x() and event_y() wrong
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1755 Version: 2.0-current It seems a widget's timeout does not set the event_x/y() variables properly. When my handle() routine receives a fltk::TIMEOUT event, the y() coordinate seems to be around 25 pixels or so above of where it should be. This is in a nested gl widget, btw. The event_x_root() and event_y_root() variables are fine, thou. Link: http://www.fltk.org/str.php?L1755 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [HIGH] STR #1660: Xft font listing is broken on X11
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1660 Version: 2.0-current Fix Version: 2.0-current Well, looking a little bit more into it, it seems more like the actual fltk font demo program is broken, as it trashes memory right and left. I wrote my own little routine to list stuff, it all seemed to work. So I think this bug report has to be changed to be more like the font demo program is broken, not x11's font listing is broken. Link: http://www.fltk.org/str.php?L1660 Version: 2.0-current Fix Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [LOW] STR #1732: GlWindow inside PackedGroup problems
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1732 Version: 2.0-current Creating a GlWindow inside a PackedGroup when other groups are placed before and after the GlWindow, will initialize the gl ortho view incorrectly if using ortho() (basically, the GL window will be shifted and inited at 0,0). The only way to make GlWindow work properly inside a PackedGroup is to make the GlWindow resizable. Not clear if this is a bug or known and undocumented limitation. Link: http://www.fltk.org/str.php?L1732 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [MOD] STR #1727: FLTK2's X11 changing main icon
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1727 Version: 2.0-current I seem to be unable to change the main window's icon on X11 using fltk2.0. I am trying to use similar code to that of fltk1.1, with no success. I'm doing either of: #if 0 this-icon((char *)XCreateBitmapFromData(fltk::xdisplay, DefaultRootWindow(fltk::xdisplay), (char *)sudoku_bits, sudoku_width, sudoku_height)); #endif #if 0 // XpmCreatePixmapFromData comes from libXpm (libgd-xpm* on Debian) Pixmap p, mask; if ( XpmCreatePixmapFromData(fltk::xdisplay, DefaultRootWindow(fltk::xdisplay), english_flag_xpm, p, mask, NULL) == XpmSuccess ) { this-icon((char *)p); } #endif and the icon gets set, but the application segfaults as soon as the main window is shown. Link: http://www.fltk.org/str.php?L1727 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [HIGH] STR #1725: FLTK2's FLUID code widgets insert extraneous characters
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1725 Version: 2.0-current I'm using an international keyboard and I have a custom .inputrc file for bash, which may or may not be related. Whenever a code widget is opened for editing in fluid and you start typing in some code, fluid will insert extraneous and invisible characters the first time it inserts a character, as if some characters had been inserted using a CTRL key combination. These characters will NOT show up in the code widget, but will be apparent when the .cxx file is generated. The problem also shows up in the callbacks text entry of any widget. This is EXTREMELY annoying. This may point to a bug in the input of the text widget, the keyboard code in the widget or the utf8 code. For reference, I have not seen the problem on any fltk::Input widget, thou. Link: http://www.fltk.org/str.php?L1725 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [HIGH] STR #1721: fltk::Browser does not allow programmable selection
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1721 Version: 2.0-current fltk::Browser* o = new fltk::Browser(...); o-add(AAA); o-add(BBB); o-add(CCC); fltk::Widget* elem = o-find( BBB ); cerr elem: elem-label() endl; // Neither o-item( elem ); o-select_only_this(); // nor o-item( elem ); o-take_focus(); // seem to work. Link: http://www.fltk.org/str.php?L1721 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [HIGH] STR #1723: Please do NOT put fltk::Group into fltk::Widget
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1723 Version: 2.0-feature Recently, Bill mentioned that he was considering placing all the fltk::Group functionality within fltk::Widget. PLEASE don't do this. This will make the Widget interface unreadable to new (and old) users and scare them (and me) to death. If anything keep doing the opposite. Use *MORE* inheritance, not less. Whenever this was not done, such as is the case with fltk::Browser, where multibrowser and browser were combined in a single widget, the interface ends up being a mess that it is impossible to follow. Link: http://www.fltk.org/str.php?L1723 Version: 2.0-feature ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [MOD] STR #1722: Simplify Browser interface and split MultiBrowser from Browser
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1722 Version: 2.0-feature Currently, the fltk::Browser interface is a mess. PLEASE split it up into fltk::Browser and fltk::MultiBrowser. There's a bunch of functions that do the same thing. There's a bunch of functions that do not belong on Browser as they operate only on MultiBrowsers. fltk::Browser is missing an easy way to find a Widget's index by pointer. There's Widget* find(char*), but there's the need for int find_index(Widget*) or int* find_indices(Widget*) for multi browsers. Link: http://www.fltk.org/str.php?L1722 Version: 2.0-feature ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [HIGH] STR #1696: API inconsistency
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Some recent check-ins have added some new API inconsistencies to fltk2. These new functions in Symbol.h: virtual void drawOverlay(const Rectangle) const; void setInset(int x,int y,int w,int h) {inset_.set(x,y,w,h);} void setInset(int x,int y) {inset_.set(x,y,-2*x,-2*y);} void setInset(int x) {inset_.set(x,x,-2*x,-2*x);} void setInset(const Rectangle r) {inset_ = r;} const Rectangle getInset() const are not following FLTK's standard naming scheme. drawOverlay should be draw_overlay(). setInset should be just inset() or, at worse, set_inset() etc. Link: http://www.fltk.org/str.php?L1696 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
Re: [fltk.bugs] [HIGH] STR #1570: X11 fltk::Font sizes and encodings functions segfault
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Link: http://www.fltk.org/str.php?L1570 Version: 2.0-current Fix Version: 2.0-current All the time, making it unusable. This is a repeat of bug #1660, btw. Link: http://www.fltk.org/str.php?L1570 Version: 2.0-current Fix Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.bugs] [HIGH] STR #1660: Xft font listing is broken on X11
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Getting the list of encodings or the list of font sizes leads to a crash. The crashing function is XftListFonts. Crash does not happen if the query is changed, from, say: fs = XftListFonts(xdisplay, xscreen, XFT_FAMILY, XftTypeString, name_, 0, XFT_ENCODING, 0); to: fs = XftListFonts(xdisplay, xscreen, XFT_FAMILY, XftTypeString, name_, 0, XFT_ENCODING, XFT_FAMILY, 0); but still I get no encodings. fltk::Font::encodings(const char** arrayp) has a bug in that it incorrectly sets a static variable XftFontSet* fs without initializing it (and this gets destroyed afterwards). However, this is not the source of the crash for me. Link: http://www.fltk.org/str.php?L1660 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs
[fltk.development] [RFE] STR #1659: Missing virtual keyword in some .h files
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] Currently, a number of .h files describe several of their inherited functions as non-virtual ones. grep '^\s*int.*handle' fltk/* grep '^\s*void.*layout()' fltk/* grep '^\s*void.*draw()' fltk/* grep '^\s*void.*draw_overlay' fltk/* C++ compilers will be smart enough to fix the error. However, other parsers, such as SWIG for scripting language generation, are not so smart and will produce incorrect (and subtly wrong) output because of this. Link: http://www.fltk.org/str.php?L1659 Version: 2.0-feature ___ fltk-dev mailing list fltk-dev@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-dev
[fltk.bugs] [MOD] STR #1649: TextEditor's editor.cxx demo works incorrectly on intl. keyboards
DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW. [STR New] The editor.cxx demo works incorrectly on international keyboards. On intl. keyboards, some often used characters are created with Alt Gr+Key (for example, to get '[' ). The TextEditor pushes the ALT key as a menu action only, even when the key combination does not produce any valid key. Link: http://www.fltk.org/str.php?L1649 Version: 2.0-current ___ fltk-bugs mailing list fltk-bugs@easysw.com http://lists.easysw.com/mailman/listinfo/fltk-bugs