summaryrefslogtreecommitdiff
path: root/prototypes
AgeCommit message (Collapse)Author
2008-03-03* Added my MiG Layout Manager code to the prototypes diretory while I ↵graemeg
continue working on the port from Java.
2008-02-20* Minor fix in the version number requirements.graemeg
2008-02-20* Applied Vladimir's patch for arrow key support in RadioButtons.graemeg
* TfpgWidget.TabOrder is now set at creation time. * Published the TabOrder property for all components that can receive keyboard input. * Extended the UI Designer so the TabOrder property can be edited.
2008-02-18* I think I fixed the issue with PopupWindows taking focusgraemeg
under Windows. * I think I fixed the click selection issues in ComboBoxes. * Also I believe the Calendar component now works under Windows. * Menuse should now works correctly. All the above tested on Win2k. * Due to the above changes I had to modify resizer component in the UI Designer. There is still one minor issue, but that should be fixed soon.
2008-02-15* Applied Jean-Marc's TextColor and BackgroundColor patch.graemeg
* Made many more modifications based on Jean-Marc's patch and fixed a few things missed.
2008-02-14* GDI: Implemented the new Clipboard class in Windows. Again graemeg
it needs some testing and debugging. But the basics seem to work. * Removed the old gfx_clipboard.pas unit.
2008-02-14* X11: fpGUI will now raise an exception if it can't open the X Display.graemeg
* X11: clipboard support has now been implemented to work across applications. It still needs more testing. eg: unicode copy and paste doesn't always work.
2008-02-04* Applied patch from Jean-Marc creating new properties for ComboBox and ListBox.graemeg
* Modified the edittest example to show the new changes in action.
2008-02-01* Applied patch from Jean-Marc which fixes a minor issue in the TfpgMemo and ↵graemeg
TfpgMenu components. It also adds a new BackgroundColor property to TfpgButton. * Minor fixes to Jean-Marc's patch with button painting. * The threedee example now uses the new Button.BackgroundColor property.
2008-01-28* Applied Jean-Marc memo patch adding TextColor and BackgroundColor properties.graemeg
* Renamed the Color property to TextColor for RadioButton, Memo, DBLabel, Label, Edit and CheckBox. It's less confusing.
2008-01-26* Added a new Color property to RadioButton, Button and CheckBox.graemeg
The text color can now be changed per component. * Fixed up the default values for Color and BackgroundColor for a few components. * Extended the EditTest project to show the Color property in action.
2008-01-26Applied patch from Jean-Marc allowing TfpgEdit's text color to be changed.graemeg
2008-01-26* Middle mouse button click was never detected.graemeg
* CaptureMouse and ReleaseMouse is now not used by default for the TfpgPopupWindow class. * Menu mouse behaviour improved * Fixed Combobox dropdown that did not react to mouse clicks. * Removed support for changing the focused item with the arrow keys. It's not standard behaviour.
2008-01-26* After renaming some files from .dpr to .lpr, I forgot to update the ↵graemeg
project information page. This is now fixed.
2008-01-14* Removed a debug writeln statement from gui_edit unit.graemeg
* Added the extra interpolation unit to fpgfx.pas so it can be auto compiled from the scripts in the src directory. * Added the missing extrafpc.cfg files from some example projects. * Renamed some of the examples main units to have the lpr extension. Consistancy with the other projects. * FreeBSD is now an official supported platform. I've compiled and ran all example and prototype projects. Everything works perfectly.
2008-01-11* TfpgWidget now has two new events. OnEnter and OnExit so the user can trap ↵graemeg
when a component receives or looses keyboard focus. TfpgEdit has a few new methods. Clear() which clears the Text. ClearSelection() which removes the selected text only. CopyToClipboard(), CutToClipboard() and PasteFromClipboard() is fairly obvious. TfpgEdit has some new properties. AutoSelect - in enabled (default) will auto select all text when the component receives keyboard focus. HideSelection - by default hides the selection rectangle when the components looses focus. If set to False the selections rectangle will be grayed - not the the user interfaces will look busy if many edit controls keep showing their selections, but now you have a choice.
2007-12-02* Implemented ButtonBevel and FocusRect style based drawing. Currently only ↵graemeg
active in the prototypes directory, but will later be moved to src/gui
2007-11-30* Fixed all the memory leaks I could find in CoreLib. We now have non in ↵graemeg
CoreLib.
2007-11-30* Some more minor improvements to the prototype Bitmap theme support.graemeg
2007-11-29* New overloaded method ImageFromRect in TfpgImage.graemeg
* Created a PaintPartScaledImage in prototypes which will be used for Bitmap based theming.
2007-11-06* Applied patch from Giuliano Colla. It modifies the line drawing but is ↵graemeg
currently a workaround for a bug.
2007-10-26* Updated the ThreeDee prototype with a new gradient function.graemeg
* Implemented a new fpgGetAvgColor function in gfxbase unit. * Supplied some more documentation for gfxbase unit.
2007-10-25* Added new UTF8 function used for text translations with .po files.graemeg
* Added BackgroundColor as new published property of TrackBar component. * Specified default property values for BaseGrid component. This help optimize the UI Designer generated code. * Started refactoring code from TfpgEdit to TfpgCustomEdit. This is still incomplete. * Added new prototype project for testing a new Master Maths custom theme.
2007-10-15* Published BackgroundColor and OnPaint for TfpgFormgraemeg
* TfpgWidget.HandleShow now always sets Visible = True. This fixes issue with the fpGUI-LCL interface as well. * Added a few more safety checks into the PageControl widget. * The OnPaint event is now wrapped with BeginDraw/EndDraw calls so that a event handler for OnPaint doesn't need to call it explicitly.
2007-10-11Fixed bugs 1803016 and 1798475. When resizing a window a few times the ↵graemeg
painting goes corrupt under GDI (Windows). This bug was actually introduced in revision 210 - ages ago!
2007-10-05* Implemented a UTF8Insert() and UTF8Delete() proceduresgraemeg
* Fixed up TfpgEdit to now use the UTF-8 versions of Insert() and Delete() which fixes some of the keyboard input issue. * Removed stacks of compiler warnings all over the place. * Fixed up the TfpgMemo to now use the UTF-8 versions of Insert() and Delete() which fixes some of the keyboard input issues.
2007-09-07GFX: Added support for handle component creation at runtime correct graemeg
while the parent component is already visible. * GUI: Introduced the usage of ComponentState so that the components react correctly in the GUI Designer. Not all components are tested yet. * GUI Designer almost paints the designed form correctly. When placing a component, they are invisible, but as soon as you resize them, they are painted correctly. This is still work
2007-08-30* Memo: OnUpdate now fires at correct times.graemeg
* Memo: Scrollbars now stay in sync with mouse wheel scroll.
2007-08-17* FileDialog: Drive combobox and File grid are now in sync at all times.graemeg
2007-08-13* Implemented a TfpgProgressBar component.graemeg
* Amended the prototypes/fpgui2/tests/edittest project to show it in action. I'll create a decent eexample project for it soon.
2007-08-13* Renamed the TfpgTrackbar to TfpgTrackBarExtra.graemeg
* Implemented a new TfpgTrackbar that has the look of the Windows 2000 slider control. * Fixed the Scrollbar flashing issue that occured when you scroll to the minimum position using the Slider button.
2007-08-12* Minor adjustment to the GradientFill function.graemeg
* Played around with the GradientFill and implemented the BlueCurve selection look in the TfpgListBox. This is just a test and will be removed shortly.
2007-08-12* Extended the sample text string used in the Font Select dialog.graemeg
2007-08-10* Grid now has keyboard navigation support.graemeg
* Minor amendment. When Scrollbar.Position gets set, the Slider gets repainted automatically.
2007-08-10* Fixed minor compiler error and Mouser Cursor supportgraemeg
* Fixed minor compiler error and FastDoubleBuffer support * Fixed a bug in GDI DrawRectangle when LineStyle <> lsSolid * Implemented Canvas.DrawFocusRect * Implemented fpgStyle.DrawFocusRect
2007-08-09* Implemented scrollbar support for Grid.graemeg
* Implemented alternative colomn width support. * Improved painting of Headers and Cells. * Refactored a bit of panting for Headers, Cells and Gridlines. * Fixed up the clipping issues in the Grid.
2007-08-08* Mouse Cursor support has been added (GDI is untested).graemeg
* TfpgEdit and TfpgMemo now change the mouse cursor correctly. * The prototypes/fpgui2/tests/edittest project show the mouse cursor in action. A GUI example project will be created soon to show all available cursors.
2007-08-08* Finally fixed all painting issues with rectangles and clipping.graemeg
* Reverted the methods back to using TfpgRect instead of TRect. TfpgRect has better support for Width and Heigh - required by many Canvas methods. * Implemented helper functions like InflateRect but support TfpgRect * Fixed all painting issues and rectangle sizes in all components. * Fixed up all examples and test projects to compile and work correctly. * Fixes some clip rectangle issues under Linux. TfpgRect was a big help. * Changed the method signatures of many Canvas methods to rather use x, y, width and height. This causes much less confusion and actually less coding in widgets.
2007-08-07* Changed the parameters of DrawRectangle, FillRectangle to rather use Width ↵graemeg
and Height. * DrawLine and DrawRectangle now use the same coordinate system as Windows does. * I need to fixed corrupted painting in widgets due to this.
2007-08-03* Added debug lines in GDI code and compiler defines tograemeg
control it. * Adjusted the calls to Windows.SetWindowPos so that the WM_PAINT message gets generated. This fixes a few paint issues. * Adjuset the text in the tabs to be more prominent for the active tab.
2007-08-02* More work has been done to the PageControl. It looks like a PageControl, ↵graemeg
but doesn't function yet. * Minor changes to TrackBar widget. * Surfaced the SetPosition method in TfpgWidget to public. * Created a new example project for the PageControl.
2007-07-31* Implemented and added a TfpgTrackBar component. The graemeg
prototype edittest project shows it in action.
2007-07-31* Fixed painting of TfpgListBoxgraemeg
* Improved focus rectangle in TfpgComobBox.
2007-07-31* Fixed FillRectangle() under GDI and X11.graemeg
* Implemented Enable/Disbled state in TfpgComboBox. * Fixed painting issues in TfpgScrollbar and TfpgMemo (tested under X11). * Moved SetEnabled and SetVisible in TfpgWidget to protected and virtual.
2007-07-27* Added the new test project I forgot earlier.graemeg
* Minor compiler fix for GDI.
2007-07-27X11 only:graemeg
* Fixed a bug in the SetLineStyle which caused inaccurate line drawing. This eluded me for ages. * Started the process of removing TfpgRect and replacing it with the standard Object Pascal TRect. * Started updating some methods to rather use two sets of coordinates instead of width and height. * Added a new test to verify drawing accuracy * Implemented more line styles under X11 * Fixed up painting issues in widgets (Scrollbar and Memo are still outstanding) * Added three new helper functions for use with TRect in fpgfx.pas (InflateRect, CentrePoint, OffsetRect).
2007-07-26* Minor fixes with DrawControlFrame and ComboBox down button.graemeg
2007-07-26* Added a DrawString() method to TfpgStylegraemeg
* Changed TfpgCheckBox, TfpgRadioButton, TfpgLabel and TfpbButton to use fpgStyle.DrawString instead. * Updated the prototype test app to demo these features. * TfpgCheckBox now handle image painting correctly based on the widget state and mouse state (up, down). * Minor improvement to the look of the X in the CheckBox image.
2007-07-26* Added new composite images for radio buttons and checkbox buttons.graemeg
* Implemented and added a new widget TfpgRadioButton * TfpgWidget now doesn't process MouseUp and MouseDown events when disabled. * TfpcCheckBox now uses composite images to paint the check mark as well.
2007-07-25* Fixed a spelling mistake which caused a compiler error under Windows.graemeg
* I can confirm that the 100% CPU load issue with Timers under Windows have been fixed in the previous revision.