summaryrefslogtreecommitdiff
path: root/fluid
AgeCommit message (Collapse)Author
2005-10-30Updated the default label and text colors of all widgets to useMichael R Sweet
FL_FOREGROUND_COLOR instead of FL_BLACK (STR #1052) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4609 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-10-26FLUID writes RGB and Bitmap image data as an array of decimal numbers ↵Matthias Melcher
instead of a string since "a certain compiler by a large operating system vendor which shall remain unnamed" can not handle long strings and produces heap overflows. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4607 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-24STR #1027: FLUID size_range controls would not set the 'modified' flagMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4579 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09Fix to ambigous function call in my previous FLUID changesMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4562 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-09STR #985: This is a medium size change in the way that FLUID manages widget ↵Matthias Melcher
label sizes. I moved the 'preset' functionality from the 'widget size' menu into the grid setting window. The menu now only changes selected widgets while the setting panel modifies newly created widgets. Settings are stored in the preferences. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4561 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-08STR #1016 : Matthias Melcher
Fixed some more missing modification flag cases in FLUID git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4557 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-09-05STR #1010: if a widget callback is generated inside a widget class, the ↵Matthias Melcher
static callback uses the parent() function to find the 'this' pointer, instead of the 'user_data()' member, which would be NULL anyways git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4556 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-30FLUD: This fixes the problem that the children of a Widget_Class_Type are ↵Matthias Melcher
positioned with absolute coordintes. The patch adds another button to the FLUID interface named 'Relative' to the right of the widget position. It is only visible if a Widget_Class_Type is selected. If checked, code will be added that creates an Fl_Group at 0, 0 and later repositions it and all its children into the final position. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4554 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-30FLUID: Grouping and ungrouping would not work inside an Fl_Widget_Class_TypeMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4553 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29Fixed snapping for interactive resizing of right and bottom border.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4550 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29F2 and F3 (move up/down) would not set the "changed" flagMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4549 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-29The newly introduce Fl_Widget_Class_Type in Fluid would cause a null pointer ↵Matthias Melcher
when a Menu Item was trying to find the top parent widget. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4545 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-24TyposMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4536 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-24Fix widget spacing to conform to the HIG.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4535 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-23FLUID now knows if a static callback is already declared in a class and ↵Matthias Melcher
won't declare it 'extern' (STR #776) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4534 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-23Project settings in FLUID now also set a project as 'modified'.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4533 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-21Some actions in FLUID would not set the "changed" flag.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4529 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-20This commit fixes one aspect of bug STR #984. However, since Allesandro took ↵Matthias Melcher
his patch back, I would like to first run this one by the developers before I fix the rest on the list. This patch is different to Alessandro's in that it checks if data was actually changed and the n setting the modflag. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4528 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-17#959: outside labels in fluid moved, so that they refresh correctly even ↵Matthias Melcher
when previously clipped. Remove superfluous grouping. Using contrasting color for label of selected Tabs. MUST GET 1.1.7 OUT SOON! ;-) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4522 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-16FLUID now correctly redraw FL__Tabs if one of their children changes color.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4517 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-16Cast value to int to avoid compiler warnings...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4516 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15Added support for Fl_Window::size_range() in FLUID. There are no UI elements ↵Matthias Melcher
for increment or aspect ratio. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4515 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-15Dottet label selection box and standard widget selection boxes would not ↵Matthias Melcher
always align when snapping was enabled. Also, the dragging indicators would not snap. (STR #964) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4514 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-08-06This commit contains patch submitted by "fltk.x0" (thanks fltk.x0!) in the ↵Dejan Lekic
middle of May this year - STR #863. Also small change in fluid.cxx - time.h was needed for successful build on MinGW. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4468 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-23Fluid was casting Fl_Input_Choice to Fl_Menu_ at two occasions which is ↵Matthias Melcher
wrong since Input_Choice is derived from Fl_Group. Fixed. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4451 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-22last character in CodeEditor (Fluid) would disappear under certain ↵Matthias Melcher
circumstances. The problem is two consecutive calls to Fl_Text_Buffer::insert() which first insert a newline, then indent the text by two spaces. The first 'insert' marks the text all the way to the end for redraw. The second 'insert' adds two characters, however the last character for redraw remains the previously last character, hence the very last two characters are not redrawn. This fix changes the CodeEditor to do a single 'insert'. It would be better to change Fl_Text_Display to increment the redraw range if more characters are inserted before the actual draw is called. Since this goes too close to core code for my taste, I leave that as an exercise for 2.0. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4446 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20Declaration in Fluid now uses its own public/private setting unless the ↵Matthias Melcher
parent is a private declaration block, which sets contained declarations to private as well. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4439 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20 - Fluid overlay now shows a seperate bounding box of selectedMatthias Melcher
items with correct handles and a dotted boundig box for all labels (STR #790) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4437 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-20- I enlarged the 'minimal update' area in Fl_Input_, so that characters that ↵Matthias Melcher
overlap the font box will be correctly erased during minimal redraw. The original code assumes that character fin in a box from 0,0 to charcter width/height. However, many newer fonts overlap that box and leave traces when redrawn. See 'j' and 'W' in Helvetica on Mac and Windows. - added textsize etc. support for Fluid Live Mode for Fl_Input type. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4436 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-19Fluid live mode: correct tooltip support.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4434 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-19Better support for Live mode in Fluid. Most Widget attributes are now ↵Matthias Melcher
supported including pulldown menus (in a very simple, but working way). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4433 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-16Changing the 'private' flag would not reflect in the widget browser immediately.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4429 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-15If starting Fluid with the -c (compile only) option, Fluid should not ↵Matthias Melcher
require a connection to the X11 Display anymore, allowing fluid to create code on head-less terminals. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4422 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-14- Fixed Fl_Bitmap::copy code according to Stephans suggestions. Thanks! Good ↵Matthias Melcher
catch. - Fixed some minor alignment in Fluid. - Live Mode window in Fluid is now double buffered to get rid of flicker. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4415 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-09fixed 'static' vs. forward declaration mixup for my last commitMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4409 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-07-08Added the first implementation of "live mode" to Fluid. This is incomplete ↵Matthias Melcher
and mostly untested, but it seems to be a great help to figure out the darned wonderful resize behavior. I apologize for typos, no time to compile on Linux. Please feed back. More details in the developers mailing list. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4407 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30Fluid: Added a pixmap for WidgetClass, added pixmap to the Widget Bin.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4383 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30Made all menu items fit into Fluid dialog Widget Properties/GUI/LabelMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4382 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30Made most Fluid properties dialogs duoble buffered, because they tend to ↵Matthias Melcher
flicker during resizing. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4381 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-30Two Fluid dialog boxes were 2 pixels to wide.Matthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4380 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29Fluid panel resize and alignment fixes (STR #891).Matthias Melcher
Everything should resize nicely now. All Widgets have been realigned. Hope you guys like it... . git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4378 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-29Fixed alignment win Widget bin. Still to do:Matthias Melcher
Change tab order to reflect pulldown menu order Add Widget Class Icon git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4377 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-28Fixed Function Panel in Fluid to obey HIGMatthias Melcher
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4376 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-28Made Comment Properties dialog obey HIG (I hope) and fixed resizing behavior ↵Matthias Melcher
(STR #891, partial) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4375 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-19Fix eol-style in Watcom files...Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4359 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-19FLUID didn't set the initial size of widgets properly (STR #850)Michael R Sweet
Fl_Tabs would steal focus away from its children on a window focus change (STR #870) git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-05-13Updates to cmake project files (STR #813)Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4345 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-21FLUID wasn't tracking all changes on the widget panel, so undo and save stuffMichael R Sweet
didn't work if you just changed colors, etc. Use blue selection color for tabs. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4296 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-18Fix compiler warnings.Michael R Sweet
Add demo.menu and all xbm and xpm files in test directory to install list. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4292 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
2005-04-16Update source file headers with STR web page.Michael R Sweet
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4288 ea41ed52-d2ee-0310-a9c1-e6b18d33e121