summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
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* moved FastDoubleBuffer to TfpgCanvasBasedrewski207
* implemented FastDoubleBuffer for gdi - not tested * start of listview resiazable headers
2007-08-09* Added a property to TfpgCanvasImpl(x11) FastDoubleBufferdrewski207
* Fixed painting of ListView Column * Misc Listview painting changes * Added OnColumnPaint to ListView The new property FastDoubleBuffer will probably be moved to TfpgCanvaseBase also perhaps this can be set with an application property since it doesn't free the backbuffer until the Canvas is freed which will result in some increase in memory usage. The listview can have double buffering disabled now and it won't flicker sonce the painting is done with no overlapping rects.
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* Minor adjustments to GDI code after the previous revisions changes.graemeg
* Canvas functions finally behave identical in GDI and X11 - to the pixel.
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-07* Fixed a minor bug where the CoreLib examples did not show the main windowgraemeg
2007-08-06* Implemented Canvas.FillGradient().graemeg
* Made some improvements to the TfpgBaseGrid painting. Still have lots outstanding though.
2007-08-06* Added basic listviewdrewski207
* Added a test project for the listview widget * made the Scrollbar more robust * changed canvas.color and canvas.textcolor to be read/write A cool feature of a listview is to be able to share it's .Items property with other listviews so the list doesn't have to exits in memory. The test project uses that feature.
2007-08-04* Started the implementation of a Grid component.graemeg
* Added a test project for the grid component.
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* 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.
2007-07-25* Implemented and added a new unit that will handle command line parameters.graemeg
* Implemented and added a new CheckBox widget. (needs testing under Windows). * Made some timer changes for Windows (needs testing). * Moved the global variable for the MainForm into the TfpgApplication class. I can almost remove the gui_form requirement from GFX.
2007-07-25* fixed timers if the next timer should execute nowdrewski207
2007-07-25* Fixed the Windows implementation of Canvas.DrawArc and Canvas.FillArc.graemeg
2007-07-25* Implemented two new canvas functions. DrawArc() and FillArc()graemeg
2007-07-24minor fix to TfpgLabel again.graemeg
2007-07-24Replaced some code that got undone in the previous revision regarding modal ↵graemeg
forms.
2007-07-24made DoAllocateWinHandle only allocate not show a handledrewski207
added a proc to show or hide an allocated handle. implemented and tested in x11. only implemented in windows not tested fixed x11 waitmessage proc to not use 100% cpu on ShowMessage
2007-07-24* Updated gfx_x11 to reflect the changes about modal forms.graemeg
* Minor improvements to the TfpgComboBox.
2007-07-24* Move some modal form requirements as global variable to propertiesgraemeg
inside the TfpgApplication class. * Minor improvements to the modal form workings under Windows. Still not 100%, but better.
2007-07-24GUI: created a AutoSize property for TfpgLabelgraemeg
2007-07-23X11: Modal forms are now working correctly. You cannot kill the parent of a ↵graemeg
modal form by clicking the top right X button anymore.
2007-07-23Added and updated the fpGFX package for Windows.graemeg
2007-07-23Restructure Part 5.graemeg
* Created new packages for Corelib and GUI. * Updated all examples to use the new packages. Restructure should now be complete.
2007-07-23The first part of removing the obsolete fpGUI and replacing it with the new ↵graemeg
multi-handle design from the prototypes directory.