summaryrefslogtreecommitdiff
path: root/src/corelib/gfxbase.pas
AgeCommit message (Collapse)Author
2007-11-03* Improved modal form in X11 to use net window hintsdrewski207
* Implemented NET_WM_PING so newer window managers can kill our process if it stops responding * Changed how Modal form are stored. fpgApplication now keeps a stack/list of Modal Forms * Added fpgApplication PushModalForm and PopModalForm * Fixed a bug in WindowAddProtocol which caused a libc doublefree error
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-21* Added name and version constants.graemeg
* Added a SetDefaults method which we could use in the future to autoset the default property values for us. * Minor documentation update
2007-10-17CoreLib: Fixed Canvas.StretchDraw(). I forgot to undo previous debug testing ↵graemeg
comments.
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-14* Introduced Setter methods for BaseWindow Width and Height properties.graemeg
* Fixed a minor bug in ComboBox that maintained it's own Width property. This also fixed the issue in the uiDesigner loading forms with comboboxes and not painting the internal button.
2007-09-14* New overloaded EndDraw method for TfpgCanvas.graemeg
* Finished implementation change of ComboBox internal button. It now uses a fake (painted) button instead of a real button. Up/Down state is also supported. * Implemented Up/Down state for Scrollbar buttons. * Increased the version numbers of the fpGUI packages and uiDesigner. * If TfpgEdit is disabled, the mouse cursor doesn't change to a I beam.
2007-09-13* CoreLib: fpgApplication now has a Terminated property which terminates thegraemeg
main event loop and application. Halt was just to harsh and objects never got freed. * GUI: Added a new INI Utils unit which introduces ReadOnly ini support and can also save a form's state and position. You access the ini file via the gINI singleton function. fpGUI Designer uses this. * All example project now free there main forms correctly. * Many bug fixes in GUI Designer. GUI Designer now also remembers the size and location of most forms. * Many of the GUI Designer forms are now maintained by the GUI Designer itself. * GUI Designer: Started implementing a Recent Files feature so it is quicker to open frequently used files.
2007-09-12minor adjustment to default font setting and included the missing ↵graemeg
extrafpc.cfg file to uidesigner
2007-09-08* Fixed initial painting of components when they are placed in the graemeg
form designer. * Fixed the initial state of scrollbars for various components. * Implemented more fine grained cursors. Used by the designer for the resizer buttons. * Components can now be moved around in the designer form. * Components can now be placed inside container components like TfpgBevel. * Treeview doesn't crash the GUI designer anymore, yet the painting is still not working for it. * Tab and reverse Tab now work in the GUI designer. * GUI Designer title bar is now consistent in text format.
2007-08-21* Removed OS based Double Click from GDI.graemeg
* Manually implemented OS independent Double Click support in TfpgWidget.
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* 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-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-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-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-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-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-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-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 the Windows implementation of Canvas.DrawArc and Canvas.FillArc.graemeg
2007-07-25* Implemented two new canvas functions. DrawArc() and FillArc()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-23The first part of removing the obsolete fpGUI and replacing it with the new ↵graemeg
multi-handle design from the prototypes directory.