f37aca15e9
This work is based on the repository and latest commit: https://github.com/osen/FL_Flex.git commit 36e4ed75a00daac825b87e81295818b4650991f5 Author: Karsten Pedersen <...> Date: Fri Apr 23 12:06:16 2021 +0000 Added Fltk (LGPL) license. This widget is similar to Fl_Pack and supports either one row or one column of widgets but has some more features. Test and demo programs are included: test/flex_login.cxx: simple "login window" demo program test/flex_demo.cxx: slightly more complex demo program The original demo programs can still be compiled and built with the new widget provided you '#include <FL/Fl_Flex.H>'. Backwards compatible methods are included (except debug()). The original widget has been modified to match FLTK standards and enhanced in several ways, including: - support box frames - add HORIZONTAL and VERTICAL enum values (as in Fl_Pack) - add horizontal() method (as in Fl_Pack) - use type() rather than internal 'direction' variable - add standard widget constructor (x, y, w, h, label) - add margin and gap accessors rather than hard coding constants - improve test and demo programs - add documentation - replace <vector> with array as required by FLTK CMP - rename camelCase method names, keeping old names for compatibility: - change 'setSize(Fl_Widget*, int)' to 'set_size(Fl_Widget*, int)' - change 'bool isSetSize(Fl_Widget*)' to 'int set_size(Fl_Widget*)' - remove debug() method - add a way to "unset" fixed size: set_size(Fl_Widget *, 0) - add layout() method to force recalculation of children - unify resizeRow() and resizeCol() methods to avoid code duplication - improve widget size calculation.
143 lines
1.6 KiB
Plaintext
143 lines
1.6 KiB
Plaintext
#
|
|
# Files to be ignored by Git (do not commit)
|
|
#
|
|
# Note: *.exe will be ignored by means of ../.gitignore
|
|
#
|
|
|
|
# Windows/MSVC files and maybe others
|
|
|
|
*.bck
|
|
fltk*.dll
|
|
fltk*.exp
|
|
fltk*.lib
|
|
*.ilk
|
|
|
|
# Linux/Unix/macOS executables
|
|
|
|
adjuster
|
|
animated
|
|
arc
|
|
ask
|
|
bitmap
|
|
blocks
|
|
boxtype
|
|
browser
|
|
button
|
|
buttons
|
|
cairo_test
|
|
checkers
|
|
clipboard
|
|
clock
|
|
colbrowser
|
|
color_chooser
|
|
coordinates
|
|
cube
|
|
CubeView
|
|
cursor
|
|
curve
|
|
demo
|
|
device
|
|
doublebuffer
|
|
editor
|
|
fast_slow
|
|
file_chooser
|
|
flex_demo
|
|
flex_login
|
|
fltk-versions
|
|
fonts
|
|
forms
|
|
fractals
|
|
fullscreen
|
|
gl_overlay
|
|
glpuzzle
|
|
handle_events
|
|
hello
|
|
help_dialog
|
|
icon
|
|
iconize
|
|
image
|
|
inactive
|
|
input
|
|
input_choice
|
|
keyboard
|
|
label
|
|
line_style
|
|
list_visuals
|
|
mandelbrot
|
|
menubar
|
|
message
|
|
minimum
|
|
native-filechooser
|
|
navigation
|
|
offscreen
|
|
output
|
|
overlay
|
|
pack
|
|
pixmap
|
|
pixmap_browser
|
|
preferences
|
|
radio
|
|
resize
|
|
resizebox
|
|
resize-example1
|
|
resize-example2
|
|
resize-example3a
|
|
resize-example3b
|
|
resize-example3c
|
|
resize-example3d
|
|
resize-example4a
|
|
resize-example4b
|
|
resize-example5a
|
|
resize-example5b
|
|
resize-example5c
|
|
rotated_text
|
|
scroll
|
|
shape
|
|
subwindow
|
|
sudoku
|
|
symbols
|
|
table
|
|
tabs
|
|
threads
|
|
tile
|
|
tiled_image
|
|
tree
|
|
twowin
|
|
unittests
|
|
utf8
|
|
valuators
|
|
windowfocus
|
|
wizard
|
|
|
|
# macOS binary files
|
|
|
|
*.app
|
|
|
|
# fluid generated source files and headers, generated using bash:
|
|
# > for f in *.fl;do b=`basename $f .fl`;echo $b.cxx;echo $b.h;done
|
|
|
|
CubeViewUI.cxx
|
|
CubeViewUI.h
|
|
checkers_pieces.cxx
|
|
checkers_pieces.h
|
|
fast_slow.cxx
|
|
fast_slow.h
|
|
inactive.cxx
|
|
inactive.h
|
|
keyboard_ui.cxx
|
|
keyboard_ui.h
|
|
mandelbrot_ui.cxx
|
|
mandelbrot_ui.h
|
|
preferences.cxx
|
|
preferences.h
|
|
radio.cxx
|
|
radio.h
|
|
resize.cxx
|
|
resize.h
|
|
tabs.cxx
|
|
tabs.h
|
|
tree.cxx
|
|
tree.h
|
|
valuators.cxx
|
|
valuators.h
|