Greg Ercolano
0080850092
Fl_Terminal better name for flags -> charflags
2 years ago
ManoloFLTK
4f894e4745
Cairo graphics driver: Improve drawing of Fl_Pixmap and Fl_Bitmap
...
Previously, these objects were drawn slightly blurred on HighDPI.
This commit has them resized to the pixel size of the area where
they are being drawn and then drawn.
2 years ago
Matthias Melcher
0beab855a0
Stabilizes Fl_Tile size_range mode.
...
- improved documentation
- new tile resize strategy
- robust against zero sized children
2 years ago
Matthias Melcher
b6be421a1f
Added safety when calling Text_Display methods
...
- before assigning a buffer (Github #845 )
- also fixed a warning form unused arg in Fl_Terminal
2 years ago
Matthias Melcher
de2dd0cddf
Adds zero size check in Fl_Tile::on_move
2 years ago
Matthias Melcher
8041a62e59
Adds Callback Reason to FAQ on Fl_Window::callback
2 years ago
Matthias Melcher
f8d915cfe6
Fixes warning in Fl_Tile by Doxygen
2 years ago
Greg Ercolano
9894812644
Make new handle_lf/cr methods private
2 years ago
Matthias Melcher
c961f84086
Fixes warning and errors.
2 years ago
Matthias Melcher
81e26b9089
Adding size range settings to Fl_Tile, initial commit.
...
- some documentation missing
- Fl_Tile::resize() not satisfying yet
- minimums work, maximums currently ignored
- 0 size children may make program hang
2 years ago
Greg Ercolano
9383f172a8
Fl_Terminal docs: Added some tables
2 years ago
Greg Ercolano
c568056244
Added output_translate(): controls lf -> crlf translation
2 years ago
Greg Ercolano
56e85e8522
Fl_Terminal docs for fg/bg colors
2 years ago
Greg Ercolano
11e6fb5911
Fl::check() docs fix: example indented
2 years ago
Greg Ercolano
7c95aa7c79
Change Fl_Terminal default color() 0x0 -> FL_BLACK
2 years ago
Greg Ercolano
6252131017
Solve issue 837, doc some protected methods.
2 years ago
ManoloFLTK
eb9dd202b2
Fix Fl_Wayland_Image_Surface_Driver c'tor
2 years ago
Greg Ercolano
bc8b186398
Doc all pub/prot members, remove unused, add todo
...
- 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
2 years ago
Albrecht Schlosser
8b352987f6
Fix compiler warning
...
"extended initializer lists only available with ‘-std=c++11’ ..."
2 years ago
Albrecht Schlosser
7e8994c4a2
Windows/MSVC: Fix wide char commandline handling ( #840 )
...
Windows programs (subsystem:windows, not Windows console programs)
compiled with Visual Studio need a WinMain entry point. The commandline
arguments handled by this function are now properly converted to UTF-8
before the standard main() entry point is called.
This applies only to Visual Studio! Note that some build systems like
MinGW and/or MSYS2 may still have issues with some Unicode (non-ASCII)
commandline arguments.
2 years ago
Albrecht Schlosser
a72eff7588
Fix compiler warnings in Fl_Terminal on Windows
...
- missing FL_EXPORT: Visual Studio (dll)
- missing include <stdarg.h>: MinGW
2 years ago
Albrecht Schlosser
9eaf40dd13
Small improvements of test/grid_dialog.cxx
2 years ago
Albrecht Schlosser
f19f94d284
Add Fl_Grid based dialog demo program - part 2
...
Add forgotten source file.
2 years ago
Albrecht Schlosser
efe3ea7115
Add Fl_Grid based dialog demo program
...
This is a new test program for Fl_Grid based layout and a proof of
concept for a future dialog class based on Fl_Grid.
2 years ago
Albrecht Schlosser
d446059766
Output build configuration in CMake report ( #838 )
2 years ago
Albrecht Schlosser
367d302b5f
Apply two patches provided by user 'Andre' via mail
...
1. add missing FL_EXPORT to class Fl_Terminal
2. add missing test/wizard demo to test/Makefile
2 years ago
Albrecht Schlosser
44bb080c0f
Remove friend declaration from Fl_Window.H (see STR 3354)
...
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.
2 years ago
Albrecht Schlosser
a3fd63fd1d
Update source URL in misc/update_config_scripts
...
Note: I'm not going to update our bundled files 'config.guess' and
'config.sub' though. This should only be done if really necessary.
2 years ago
Albrecht Schlosser
6f7e1f4fb7
Enhance documentation of event processing
2 years ago
Albrecht Schlosser
c5ef206c57
Notify users that configure/make support will be dropped in 1.5.0
...
... as discussed in our video meeting on Nov 11.
2 years ago
Greg Ercolano
38fc08c15f
Added clear(), some methods protected->public
...
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.
2 years ago
Matthias Melcher
01d30ed9cc
FLUID: inlined data can be stored compressed.
2 years ago
Matthias Melcher
d28d03e1ac
FLUID: Adds wrapping to "find" in source view.
2 years ago
Matthias Melcher
348c1876e6
FLUID: Adds text attribute support to Fl_Terminal.
2 years ago
Matthias Melcher
d1d38090fb
Fixes return type of Fl_Input_::dvalue()
2 years ago
Albrecht Schlosser
6f021d4830
CMake: Raise cmake_minimum_required from 3.12 to 3.15
...
Remove code that checks CMake versions lower than 3.15
2 years ago
Matthias Melcher
ed7c2f1464
Fixes test/terminal box type
2 years ago
Matthias Melcher
4e1f2e7568
FLUID: Removes two warnings.
2 years ago
Matthias Melcher
69189c8f07
FLUID: Fixes missing DISPLAY connection.
...
Fl_Terminal opens the X11 Display before shown, so we need
to generate a proxy in batch mode. This will no longer work
when we add more Fl_Terminal attributes to FLUID.
2 years ago
Matthias Melcher
d5a9be6b5e
Uses the correct Fl_Terminal type in terminal.fl as well
2 years ago
ManoloFLTK
fe0298e9e6
Doc: describe fl_disable_wayland in "Operating System Issues" section
2 years ago
Matthias Melcher
fc03d304e7
FLUID: fixing test/valuator.fl and test/tree.fl
...
Using Fl_Terminal widget instead of subclassing from Fl_Group
2 years ago
Matthias Melcher
4cf758f9c4
FLUID: updates file structure README
2 years ago
Albrecht Schlosser
45fd145370
Remove mention of Fl_Simple_Terminal
2 years ago
Matthias Melcher
ee0637688d
FLUID: Fixes generating default templates
2 years ago
Matthias Melcher
36bd2afef5
esc character replacement
2 years ago
Matthias Melcher
dd8ac4d557
FLUID: Replaces Fl_Simple_Terminal with Fl_Terminal
2 years ago
ManoloFLTK
dd1c2fc843
Wayland: fix moving top-level window around with mouse
2 years ago
Greg Ercolano
605328e045
Added textcolor() and color(), doc fixes.
...
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.
2 years ago
Albrecht Schlosser
155909ec30
Fix compiler warning (suggest-override)
2 years ago