summaryrefslogtreecommitdiff
path: root/src/corelib
AgeCommit message (Collapse)Author
2007-08-21* minor fixgraemeg
2007-08-21* GDI: Fixed popup window support.graemeg
* Improved menu painting with a bit of optimization. * GDI: Implemented OnDoubleClick in TfpgWidget. * Implemented DoubleClick in FileDialog (tested under Windows only) * GDI: Fixed minor bug in DoWindowToScreen which prevented popup windows from working.
2007-08-21* GDI: Added missing units to GFX package.graemeg
* GDI: Finally fixed the implementation of modal window support.
2007-08-21* Fixed a minor memory leak in fpgApplication. We still have quite a few graemeg
more to fix in the future. * Change menu accelarator key painting from a Bold style to the more traditional Underline style. * Fixed a minor bug in the Canvas.DrawString with Underline style enabled.
2007-08-20* Added keyboard handling in PopupMenus.graemeg
* Improved the look of Popup Menus to look more 3D like Win2000. * Fixed a bug where sub-sub menus didn't close when you selected a new top level menu.
2007-08-20* Implemented a most of the Menu component. It's stillgraemeg
incomplete though and still needs testing under both platforms. * Added a new menu example project.
2007-08-20* CoreLib: Some minor code cleanup, removing unused variables and code comments.graemeg
2007-08-18* Moved and renamed gui_popupwindows.pas unit from GUI to CoreLib.graemeg
* X11: Completed popup window support. * GUI: Amended TfpgComboBox to rather use a popup window for the dropdown portion of the control. * The previous change fixed the issue in the FileDialog where you couldn't select a combo box item with the mouse.
2007-08-16* Fixed bug where GFX based applications crashed on run.graemeg
* Fixed GDI bug where mouse cursor didn't change at the edges of a window. * Fixed a minor bug in the reporting of coordinates in the eventtest example.
2007-08-16* Added images, Owner, Group and file attribute support to TfpgFileGrid.graemeg
I still need to try and get rid of the IFDEF's. * New executable image added to standard images. * IsSymLink help function added to gfx_utils unit. * Extended the FileGrid example project a bit more.
2007-08-15* Minor tweaks to compile under Windows.graemeg
2007-08-15* Implemented some file handling functions.graemeg
* Implemented a FileGrid widget. Still work in progress and lots of refactoring and getting rid of IFDEFs.
2007-08-14* Updated a few scripts in the docs directory.graemeg
* Minor changes in the style unit. * Added a new examples/apps/docedit project. Once complete it will be a demo application of fpGUI and at the same time show most used widgets in action. DocEdit will become something like lazde is to Lazarus.
2007-08-13* Minor adjustment to clSelection color value.graemeg
* Minor fix in TfpgProgressBar font color. * Added missing clipboard unit to GDI package.
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* The start of clipboard support. Currently on Text is support and the ↵graemeg
clipboard only works inside the current running application. Next step is OS (global) based clipboard support.
2007-08-12* Extended the sample text string used in the Font Select dialog.graemeg
2007-08-12* Implemented a Base Dialog class.graemeg
* Implemented 95% of the Font Select dialog. * Completed the FontSelect example project.
2007-08-11GDI: minor fix to get fpgApplication.GetFontFaceList to work.graemeg
2007-08-11* Implemented fpgApplicatio.GetFontfaceList (GDI untested)graemeg
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.