summaryrefslogtreecommitdiff
path: root/FL
AgeCommit message (Collapse)Author
2023-11-27Fix compiler warning, dependencies, and trailing whitespaceAlbrecht Schlosser
The benign warning was: ‘Fl_Browser_::hscrollbar’ will be initialized after [-Wreorder] ‘int Fl_Browser_::linespacing_’ ...
2023-11-27Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_BitmapManoloFLTK
2023-11-26STR 1373: adds vsync control to OpenGL contexts on macOSMatthias Melcher
Windows and X11 to follow, no idea about Wayland.
2023-11-25Adds pulldown menu to Fl_Text_Display and ..._EditorMatthias Melcher
2023-11-25Cleans up Fl_Input right mouse button menuMatthias Melcher
2023-11-25STR 749: Adds cut/copy/paste popup menu to Fl_InputMatthias Melcher
2023-11-25Adds `linespacing()` to `Fl_Browser_` and all derived widgetsMatthias Melcher
2023-11-25Fl_Terminal better name for flags -> charflagsGreg Ercolano
2023-11-23Added safety when calling Text_Display methodsMatthias Melcher
- before assigning a buffer (Github #845) - also fixed a warning form unused arg in Fl_Terminal
2023-11-22Make new handle_lf/cr methods privateGreg Ercolano
2023-11-22Adding size range settings to Fl_Tile, initial commit.Matthias Melcher
- some documentation missing - Fl_Tile::resize() not satisfying yet - minimums work, maximums currently ignored - 0 size children may make program hang
2023-11-21Fl_Terminal docs: Added some tablesGreg Ercolano
2023-11-21Added output_translate(): controls lf -> crlf translationGreg Ercolano
2023-11-21Fl_Terminal docs for fg/bg colorsGreg Ercolano
2023-11-20Solve issue 837, doc some protected methods.Greg Ercolano
2023-11-19Doc all pub/prot members, remove unused, add todoGreg Ercolano
- Made sure all public+protected members are documented. - Reclassified some private -> protected: > vscroll_width() - Removed signatures for unimplemented (non-existant) methods: > u8c_cursor(void) > history_use(int,bool) > cursor_h() - Reclassified some protected -> private: > x_to_glob_col() > xy_to_glob_rowcol() > is_hist_ring_row() > is_disp_ring_row() > handle_ctrl() > is_printable() > is_ctrl() ..etc.. > handle_selection_autoscroll() > handle_selection() > is_redraw_style - Add todo for ESC 7 and ESC 8 - Small code formatting mods - Small typos
2023-11-19Fix compiler warnings in Fl_Terminal on WindowsAlbrecht Schlosser
- missing FL_EXPORT: Visual Studio (dll) - missing include <stdarg.h>: MinGW
2023-11-17Apply two patches provided by user 'Andre' via mailAlbrecht Schlosser
1. add missing FL_EXPORT to class Fl_Terminal 2. add missing test/wizard demo to test/Makefile
2023-11-17Remove friend declaration from Fl_Window.H (see STR 3354)Albrecht Schlosser
Although this was not strictly necessary I decided to implement the proposed patch, but in a slightly different way. This adds a static public method for internal use only but it wouldn't do any harm if a user called it.
2023-11-17Enhance documentation of event processingAlbrecht Schlosser
2023-11-16Added clear(), some methods protected->publicGreg Ercolano
New public methods: void clear(void); void clear(Fl_Color val); old protected methods made public: void clear_screen(bool scroll_to_hist=true); // ESC [ 2 J void clear_screen_home(bool scroll_to_hist=true); // ESC [ H ESC [ 2 J void cursor_home(void); // ESC [ 0 H test/terminal modified to test these, and added separate tests for both the API and ANSI code ways to do these ops.
2023-11-15Fixes return type of Fl_Input_::dvalue()Matthias Melcher
2023-11-14Added textcolor() and color(), doc fixes.Greg Ercolano
textcolor() needed for consistency, color() behavior documented. Both added to the test/terminal app. Elaborated on the special background "see through" color value + behavior, tested with color() in test/terminal app.
2023-11-14Fix dependencies and whitespace issuesAlbrecht Schlosser
2023-11-14Fl_Terminal widget (#800)erco77
Pull Fl_Terminal widget from Greg's fork
2023-11-12Fix missing FL_EXPORT of class Fl_GridAlbrecht Schlosser
Thanks to Andre for finding this and sending a patch via mail.
2023-11-07FLUID: Adds template for tutorial.Matthias Melcher
Tutorial still to be written. Also adds convenience methods to Fl_Input_ for getting and setting numeric values.
2023-11-05FLUID: Adds undo for all grid operations.Matthias Melcher
2023-11-05FLUID: Adds transient cells to Fl_GridMatthias Melcher
This allows multiple widgets to occupy a single cell which is needed when moving cells across the grid interactively.
2023-11-05Add Fl_Window::maximize() and Fl_Window::un_maximize()ManoloFLTK
2023-11-01Fix: Fl::clipboard_contains() cannot query selection buffer (#690)ManoloFLTK
2023-10-31Improve the documentation of class Fl_Display_deviceManoloFLTK
2023-10-31Member Fl_Widget_Surface::draw_decorated_window() needs not be virtualManoloFLTK
2023-10-23FLUID: Positioning grid cells intuitively.Matthias Melcher
User can now drag widgets from the toolbox into the grid or use the context menu to add them into the corresponding cell. If no position is indicated, now children are added at the first free cell.
2023-10-23FLUID: Adds grid child positioning via +/- keysMatthias Melcher
2023-10-22Removes Fl_String from documentation as well.Matthias Melcher
2023-10-22Make Fl_String and Fl_Int_Vector private (#789)Albrecht Schlosser
- add CMake option 'OPTION_USE_STD' - add configure option '--enable-use_std' - move FL/Fl_String.H to src/Fl_String.H - move FL/Fl_Int_Vector.H to src/Fl_Int_Vector.H - remove Fl_String from demo program examples/callbacks.cxx - remove Fl_Int_Vector from public header FL/Fl_Table.H - some methods of Fl_Table are no longer inline - add CMake option OPTION_USE_STD to allow std::string in some selected functions and methods Experimental, may be removed before release: - use either Fl_Int_Vector or std::vector in Fl_Table depending on CMake OPTION_USE_STD or configure --enable-use_std Move all fl_filename* functions that use Fl_String to fluid Main changes in fluid: - add fluid_filename.h and .cxx - include "fluid_filename.h" rather than <FL/filename.H> Update fl_input(), fl_password() and test/ask - add maxchar parameter to fl_input() and fl_password() - fl_input_str() and fl_password_str() are optional and return std::string if enabled (FLTK_USE_STD)
2023-10-22FLUID: more Fl_Grid settingsMatthias Melcher
2023-10-21Removes dependency on Fl_Preferences::get/set(.., Fl_String, ...)Matthias Melcher
2023-10-21FLUID: grid becomes a bit more interactiveMatthias Melcher
2023-10-21FLUID: adding a subset of Fl_Grid child parameters.Matthias Melcher
2023-10-20FLUID: basic Fl_Grid supportMatthias Melcher
* no settings for children yet * ne good interactive editing for children
2023-10-20Add "#define MAC_OS_VERSION_14_0 140000" to mac.HManoloFLTK
2023-10-19Improve Fl_Grid example codeAlbrecht Schlosser
Add 'grid->end();' although it's redundant in this specific example.
2023-10-18Fix trailing whitespaceAlbrecht Schlosser
2023-10-16Add Fl_Grid widget and test and demo programsAlbrecht Schlosser
- FL/Fl_Grid.H: header file - src/Fl_Grid.cxx: implementation - examples/grid-simple.cxx: simple example program - test/cube.cxx: use Fl_Grid for layout - test/grid_alignment.cxx: test cell alignment and other functions - test/grid_buttons.cxx: demo program as discussed in fltk.general - test/grid_login.cxx: like test/flex_login.cxx but with Fl_Grid - test/flex_login.cxx: modified to match test/grid_login.cxx
2023-10-16Add virtual void Fl_Graphics_Driver::draw_circle()ManoloFLTK
2023-10-16Improve subclassing cababilities of Fl_Tile (STR 2791)Albrecht Schlosser
- remove static variables and functions - make move_intersection() virtual - add (protected) cursor access methods These changes were inspired by STR 2791 where the user proposing an enhancement was not able to subclass Fl_Tile properly. This commit fixes the mentioned issues and enables subclassing without copying internal code.
2023-10-16Doxygen-only: warn when current color is changedManoloFLTK
Also, remove the statement that rectangles are drawn with 1-pixel lines which is wrong with HighDPI displays.
2023-10-13Fix trailing whitespace and dependenciesAlbrecht Schlosser