summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2007-08-11* Implemented fpgApplicatio.GetFontfaceList (GDI untested)graemeg
2007-08-11* Renamed the unit gui_grid.pas to gui_basegrid.pasgraemeg
* Implemented and added a TfpgCustomGrid. * GridTest example has been updated to demo the TfpgCustomGrid.
2007-08-11* Grid changesgraemeg
- Implemented keyboard navigation. Cell focus. - Improved header painting and little square between scrollbars. - Improved scrollbar behavior and slider sizing. - Implemented mouse wheel support. Scrolling can also happen up/down or left/right based on the visibility of the vertical scrollbar. - Implemented cell selection via mouse - Implemented column resize support. - Extended the GridTest project to demo features
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* Fixed scrollbar bug that the listview revealeddrewski207
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-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* fixed compilation for older versions of fpcdrewski207
* updated to comply with coding standards
2007-08-08* Replaced the use of TRect with TfpgRect in gui_scrollbargraemeg
* Minor code formatting changes in gui_scrollbar.pas * Fixed the painting of the little square in the bottom right corner of TfpgMemo and TfpgListView when both scrollbars are shown.
2007-08-08* Fixed the TfpgButton focus rectangle to not be so close to the edge.graemeg
* Fixed the TfpgBaseGrid header title painting.
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-07reverted unintentional changes to gui_buttondrewski207
2007-08-07* Most Keyhandling for listviewdrewski207
* Listview uses better colors for drawing * Better listview selection control * Minor changes to listview example
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* updated gui package filegraemeg
2007-08-06* Made the ScrollBars even more robustdrewski207
* Fixed ListView Scrollbar slider sizes * Vastly improved the speed of adding many items at a time to a ListView
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* Implemented basic keyboard navigation for PageControl. It needs more ↵graemeg
testing and tweaking though.
2007-08-03* Implemented BackgroundColor property for TfpgTabSheet.graemeg
* Implemented ActivePageIndex and ActivePage properties for TfpgPageControl. * Implemented Tab Sorting property. * Implemented Left/Right buttons to scroll tabs.
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-03* Added two buttons to tabtest project to show PageControl.ActivePage in action.graemeg
2007-08-02* PageControl now switches tabs via a mouse button click! :)graemeg
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* The beginnings of a PageControl and TabSheet.graemeg
2007-07-31* The beginnings of a PageControl and TabSheet.graemeg
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.
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* Fixed a minor repaint bug in TfpgLabel and AutoSize. If text was setgraemeg
to something smaller, old text still remained on the canvas. * Implemented a new TfpgBevel widget * Added a example project showing the features of the TfpgBevel.
2007-07-24* Updated gfx_x11 to reflect the changes about modal forms.graemeg
* Minor improvements to the TfpgComboBox.