summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2009-11-14Added Fl_Tree source code, demo files, and documentation. Thanks, Greg!Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6934 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14Removed accidentaly added binary file (Note to self: the use of wild cards ↵Matthias Melcher
is a dangerous one ;-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6930 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-11-14Adding Gerg's Fl_Table widget to FLTK 1.3 with kind permission. ↵Matthias Melcher
Documentation not yet added Support for both Visual Studio IDE's not yet added. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6929 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-28Added missing NO_OVERLAY flag form Fl_Menu_Window (part 2)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27Consolidated all possible flag values into a single enum in Fl_Widget (STR ↵Matthias Melcher
#2161) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6905 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27Starting to consolidate all bits used in Fl_Widget::flags_Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6904 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27TypoMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6903 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-27Fixed a few minor issues with Xcode builds. Fixed all color related call to ↵Matthias Melcher
Fl_Color type (STR #2208). Changed Fl_Color back to typedef unsigned. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6902 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-26Adding the header files to the Xcode project somehow made precompilation ↵Matthias Melcher
fail in Xcode. So I removed them again. Silly. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6901 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-23File Chooser now also recognizes utf8 encoded text files. STR 2218.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6899 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-21Removed stray garbage from lineposition()'s docs.Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6895 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-20Fixed problem caught by matt in STR#2169:Greg Ercolano
COMMAND-LEFT and COMMAND-RIGHT didn't scroll if line wider than screen.. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6894 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-20Fixes STR #2169: Adds missing cursor movement to OSX:Greg Ercolano
CLOVERLEAF-LEFT move cursor to beginning of line, CLOVERLEAF-RIGHT move cursor to end of line, CLOVERLEAF-UP move to top line CLOVERLEAD-DOWN move to end line ..and SHIFT combos with those will do a 'text selection' equivalents. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6893 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-19First few additions to create scroll wheel support for multiline Fl_Input.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6888 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-19Fl_Input_: improved draing and warping for large fontsMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6887 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-19Bug in tab calculation in Fl_Input_ (Thanks to Timothy Lee)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6886 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-17International menu shortcuts working on Mac OS (and probably the other OS's)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6878 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-17Added the counterpart for FL_COMMAND (F_CONTROL). Added GTK Boxtype to the ↵Matthias Melcher
Forms test. Made utf function more fail-safe. Testing SCM on Xcode (wish me luck) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6876 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-16Fixed Fl_Choice contrast with light-on-dark settings (STR #2219).Albrecht Schlosser
Patch provided by Aaron M. Ucko, thanks. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6873 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13Fixed X server "lock", if a modal dialog window is opened while a menuAlbrecht Schlosser
is active (STR #1986). This is only an intermediate fix. The full fix should dismiss the menu when the mouse is clicked outside the menu area. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6869 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13Setting a default font for XftMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6862 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-13Fixed occasional international keyboard problems on OS X thanks to ↵Matthias Melcher
misleading indentation. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6860 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-09Docs for Fl_Menu_::add() needed clarification; single letterGreg Ercolano
parameter names converted to more meaningful names for doxygen. doxygen docs strengthened, flags documented. This solves part of STR #2226 (item submitted 20:14 Jul 25, 2009). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6856 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-09Document NULL return value for Fl_Browser::find_line().Greg Ercolano
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6854 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-09Added warnings re: duplicate definition of Fl_Browser.cxx's private FL_BLINEGreg Ercolano
struct in Fl_File_Browser.cxx. Currently changes to one struct must be manually kept in sync with the other. todo: Fl_File_Browser should be fixed to not do this. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6853 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-08Added Albrecht's patch to solve height calculation problem.Greg Ercolano
Added replacing() call to handle horiz scroll calculations. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6852 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-07 Small mod to FL_BLINE to follow similar mod in Fl_Browser's FL_BLINEGreg Ercolano
which was made in order to solve STR #1739. Thanks to SebHoll for pointing this out. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6851 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-09-07Solves STR#1739.Greg Ercolano
This allows icons to be defined for items in Fl_Browser. In addition to the OP's patch: o Added doxygen docs o Fixed redraw handling of icons larger than the items o Some methods made const o Conformed indent to FLTK standards See the STR for a test program that verifies the modifications. Mods tested on linux,osx,windows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6850 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-08-30More CMake updates (STR #2244):Albrecht Schlosser
- added missing files in src/CMakeLists.txt - added -DUSE_X11 for Unix builds - added new test/unittests program Thanks to Yassine (yostane) for testing and helping to update the CMake files. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6847 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-08-30Solves STR #2244.Greg Ercolano
See also, fltk.general newgroup thread: Subject: "probelm to build fltk 1.3 svn using msys, gcc3.4 and cmake" (Dates 08/28/09 - 08/29/09) Applied Yostane's zip file mods to the two CMakeLists.txt to support msys/gcc3.4/cmake environment. Verified consistency, fixed indents. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6846 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-08-28Applied patch from STR#2115.Greg Ercolano
This fix to fl_height(int,int) solves the "digital drit" problem in Fl_Text_Editor, where doing insert/delete operations was leaving a trail of dead pixels. Also fixes problem with font display problem in fluid's code editor. See the STR for screenshots of the problem. NOTE: THIS IS A WORKAROUND FOR A DEEPER PROBLEM. Somewhere during the port of UTF8, the actual pixel size of the displayed font is a little off, causing FLTK to miscalculate line height, causing 'digital drit'. It used to be that when you specified a font size, the font's actual displayed pixel size matched the font size value. This fix makes the fl_height(int,int) function more robust, actually inquiring the font system for its font size, instead of assuming the font size is the same as the 'size' argument. Since Fl_Text_Editor makes use of this function, it helps that widget calculate font sizes correctly. The real fix will be restoring FLTK's old behavior where the font size specified is the actual pixel size of the displayed font. Then this function can be reverted to just returning the 'size' argument. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6845 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-08-24Fixed Windows compile bug with "#define USE_COLORMAP 0" (STR #2241)Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6844 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-08-03Added new Fl_Window:: flags() and methods:Albrecht Schlosser
- set_menu_window() to mark a window as a menu window - set_tooltip_window() to mark a window as a tooltip window and the corresponding get methods: - menu_window() - tooltip_window(). This is a first step for providing more information for correct parenting and properties to support modern (X) window managers (STR #2230). Please see also the information in fltk.development: http://www.fltk.org/newsgroups.php?gfltk.development+v:8003 ToDo: Another point is to be able to handle menu windows and popup windows that are opened while a menu is active properly (will follow later). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6841 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-25Added comments about removing widgets from their parent group or windowAlbrecht Schlosser
before deleting them with delete or Fl_Widget::delete_widget(). This is not necessary any more, but it was necessary in FLTK 1.1. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6836 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-23Fixed glibc 2.10 compiler problems (Fedora 11 and others) with scandir()Albrecht Schlosser
and strchr() (STR #2222). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6833 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-12 Fl_Scroll mods for global scrollbar size control.Greg Ercolano
Also, unittest added (scrollbar size) to test these changes. Thanks to Albrecht for testing/peer review. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6828 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04Fl_Text_Display C code simple refactoring:Fabien Costantini
+ Replaced uninitialized C parameters archaisms, by on the fly C++ local var. decl. Not only it will be more optimized by modern c++ compilers, code is easier to read, maintain and debug and is shorter. Most local variables are now explicitly intialized when declared. + Replaced some non const vars by const equivalents when required. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6825 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04UTF8: Fl_Text_Display and related:Fabien Costantini
+ more const methods modifications for Fl_Text_Display. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6824 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04UTF8: Fl_Text_Display and related:Fabien Costantini
+ Constrained many Fl_Text_Display (get and measurement) methods to const. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6823 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04UTF8: Fl_Text_Display and related:Fabien Costantini
+ Modified selection buffer access methods to return const Fl_Text_Selection pointers. Added a non const get method for the main selection buffer. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6822 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-04UTF8: Fl_Text_Display and related:Fabien Costantini
+ Even more const constraints added to Fl_Text_Selection and Fl_Text_Buffer methods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6820 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-03UTF8: Fl_Text_Display and related:Fabien Costantini
+ Added more const constraints to Fl_Text_Selection and Fl_Text_Buffer methods. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6819 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-03UTF8: Fl_Text_Display and related:Fabien Costantini
+ Made char * text() const., this method should be further checked for UTF8 compat. + Added a fixme comment to remember we must check for the potential incorrect assumption that that a buffer size equals the string length + 1. + Correct a protected attrib. typo as we don't need to care about ABI compat. for now. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6818 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-01Fixed some more typos.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6813 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-07-01Fixed some typos in docs.Albrecht Schlosser
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6812 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-30corrected typo in src/Fl_Gl_Choice.cxxengelsman
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6809 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-30Fixed OpenGL shared context handling (STR #2135)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6806 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-29Fixed gray-scale images with alpha channel (STR #2105).Albrecht Schlosser
Note: Windows needs RGBA Bitmaps (4 bytes) to do alpha blending. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6804 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-28- Fixed unexpected shortcut behavior for Win32 (STR #2199)Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6802 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2009-06-27Fixed documentation for Fl_Progress (STR #2209) and changed deprecatedAlbrecht Schlosser
color2() calls to selection_color(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6794 ea41ed52-d2ee-0310-a9c1-e6b18d33e121