summaryrefslogtreecommitdiff
path: root/src/corelib/gfxbase.pas
AgeCommit message (Collapse)Author
2008-07-23* Minor parameter type change in Clipboard classes from String to TfpgString.graemeg
2008-07-21* Applied fpgui_mode.diff patch from Luiz Americo.graemeg
2008-07-18* Removed unnecessary parameters from DoUpdateWindowPosition.graemeg
2008-07-17* Applied Luiz Americo's resize patch with minor fixes.graemeg
* Fixed up the setting of FDirty. * Fixed up scrollbar handling in Grid and Listbox components.
2008-07-14* Implemented a ModalResult type and related constants.graemeg
* Updated fpGUI framework to use the new TfpgModalResult type and mrXXX constants.
2008-07-07* Fixed svn properties on some files.graemeg
* Implemented MaxWidth and MaxHeight properties. * Implemented contraint checks on window/widget sizes. * Fixed the bug with anchor issues inside container widgets. * Fixed the initial state of PrevWidth/Height/Top/Left and Dirty state.
2008-06-27* Introduced a new property to TfpgWidget, called IsContainer for allgraemeg
components that act like containers (Panel, Form, etc). This optimizes the Component Alignment calls. * All resizing calls now get routed through DoUpdateWindowPosition() so they have a more consistent execution path. * OnResize now get fired when components get resized, and not just for Forms. * HandleAlignments() is now only called when needed. * Fixed the bug where Alignment didn't work when components are resized at runtime. * Removed compiler warnings form gui_mru.pas unit. * Memo's scrollbar now gets adjusted correctly when it's text is modified via code. * Minor bug fix when deleting line in a Memo component. The 'Index out of Bounds' error still occurs though. That will be fixed shortly.
2008-06-19* Minor fix with mousewheel support in listbox components.graemeg
2008-06-12* Minor fixes to csUpdating ComponentState in Grids.graemeg
* fpgApplication now closes all forms created via fpgApplication.CreateForm() before the main form when the application terminates. * Minor documentation update for fpgfx.pas unit.
2008-05-23* Added some sanity checks in TfpgFontBase.TextWidth and Utf8Copygraemeg
2008-05-19* Merged my private graemeg branch changes (r752:r781) into trunk. These ↵graemeg
changes are required to change all componens from 1-based indexing to 0-based indexing.
2008-05-19* fpgGet[Red|Green|Blue] did not take into account named colors.graemeg
2008-04-27fpgApplication is now derived from TComponent again. This time I managed to ↵graemeg
fix the memory leaks, so all is good.
2008-04-27minor spelling mistake in code comments.graemeg
2008-04-25Fixed Index-out-of-bounds error in File Dialog under Windows.graemeg
2008-04-24* TfpgApplicationBase now descends from TObject instead of TComponent.graemeg
* TfpgApplication now has a FormCount property. * TfpgApplication now has a Forms array property. * TfpgApplication.CreateForm now works correctly and NO memory leaks occur.
2008-04-23* Introduced TfpgApplication.Terminate methodgraemeg
* Introduced CloseAction in TfpgForm class and OnClose event. * Introduced a new CloseQuery method and OnCloseQuery event for TfpgForm. * TfpgForm.Hide actually freed the form. Now it only hides or make the form invisible.
2008-04-15* Implemented ActiveWindow method.graemeg
2008-04-09* Added a user defined Message Record type for any custom data.graemeg
2008-04-07no commentgraemeg
2008-04-03* Minor fix in the MessageDialogsgraemeg
* Debugging INI support for tiOPF. * Instructions on how to compile fpGUI with the Free Pascal Text IDE.
2008-04-02* Applied patch from Vladimir removing all IFDEFs from gui_grid.graemeg
* Fixed compiler error under Linux. * Fixed painting of shortcut / symlink symbol overlay.
2008-03-28* Fixed a spelling mistake in a TFileEntry class property name.graemeg
2008-03-28* Applied a patch from Michael van Canneyt fixing a bug in ↵graemeg
TfpgFileListBase.ReadDirectory, where the return value was not always set. This caused random read errors in File Dialogs.
2008-03-28* Many big changes which removes bucket loads of compiler warnins. These ↵graemeg
will probably break code, but they are easy to fix in your own code. * All Grid Columns and Rows are now Longword types and not Integer. We mixed them all over the place, even though the grids do not support negative rows or columns. * Fixed up the UI Designer because of previous change. Same goes for examples. * Made some changes to get fpGUI compilable under FPC 2.3.1 (latest trunk), but yet no fpGUI application runs yet. No idea why yet.
2008-03-28* Reverted the Memo changes from revision 679 to get the UI Designer working ↵graemeg
again. Andrew can apply his Memo changes once everything is working on his side.
2008-03-27* New Implementation of memo lines. much faster. there is at least one bug ↵drewski207
left :) * new testapp using the memo
2008-03-27* Moved some constants to the gfx_constants unit.graemeg
* Replaced some code/magic numbers with constants instead. * fpGUI Default Font is now a variable and not a constant. This allows us to change the default font at application startup.
2008-03-26* Now we are correctly handling the ComponentState property between ↵graemeg
different versions of FPC. This also fixed the UI Designer strange issues.
2008-03-26* Applied patch from Vladimir improving the DoubleClick support.graemeg
2008-03-25* fpGUI should now compile under FPC 2.3.1 but it's untested.graemeg
2008-03-25* Added Antonio Sanguigni new TfpgHyperLabel component to fpGUI. I converted ↵graemeg
his gui_browser class to a fpgOpenURL function.
2008-03-25* Fixed a memory leak in the TfpgFileListBase class.graemeg
2008-03-22* Added Stop to TfpgMessageRec.drewski207
* Messages are now stopped only if msg.Stop is true when FormDesigner is assigned to a widget
2008-03-21* new method in Canvas class called ClipLine() which clips the coordinatesgraemeg
of a line based on a given clipping rectangle. This doesn't not use the Canvas's internal ClipRegion. It uses the well known Cohen-Sutherland line clipping algorithm, and performance is very good. * new method in Canvas class called DrawLineClipped() which uses the ClipLine method. * Converted some C headers for the Motif Window Manager hints support under X11. * Introduced a new Window Attribute type called waBorderless. This allows use create borderless windows that can handle keyboard input. Currently borderless windows are only implemented in X11. It past 01:15 here and I need sleep, so will tackle GDI support on Monday. * Extended some of the types to be used for the new Style/Theme Manager. * Fixed a bug where TfpgForm.OnClose event did not fire when you call .Close method.
2008-03-19* X11: Implemented an Application.OnIdle event.graemeg
* X11: Implemented an experimental EventFilter hook.
2008-03-18* Applied a patch from Vladimir which imploves the file system encoding and ↵graemeg
seems to fix the error received in the File dialog. * I implemented three new functions to retrieve the DPI value of the screen.
2008-03-14* Applied various patch from Vladimir which implements locale file encoding ↵graemeg
support and improves the file dialog.
2008-03-14* Applied patch from Antonio fixing the FileGrid demo.graemeg
* Added the missing default FileMask in TfpgFileGridBase
2008-03-13* Applied patch from Antonio which adds a authentication to User Prompt ↵graemeg
Dialog and added a DB login dialog. * Minor fixes to the user prompt dialog Wiggle method. * Minor fix to TfpgWindowBase.MoveWindow method. * Extended filedialog demo to show an example usage of DB Login Dialog. * Updated the rest of the lang_XXX.inc files with new resource string.
2008-03-12* Restructured gfx_utils.pas unit and moved it to the CoreLib directory.graemeg
2008-03-12* Applied a patch from Vladimir moving some code out of gui_grid.pas to ↵graemeg
gfxbase.pas and getting rid of some IFDEF's in the process.
2008-03-11* TfpgWidget now simulates a RMB click when Menu Key is pressed. In TfpgEdit ↵graemeg
it will display the popup menu.
2008-03-07* TfpgForm now has a FullScreen property. Currently only implemented in X11.graemeg
* TfpgForm also has a new method SetFullscreen(boolean) which allows you to switch fullscreen mode at any time.
2008-02-20* Added a new cursor: mcHandgraemeg
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-09* Introduced to new types: TfpgChar and TfpgString.graemeg
* HandleKeyChar has it's first parameter set to TfpgChar. The start of full unicode text input support. At a later date other paramaters will start changing to the new types introduced.
2008-02-01* Fixed old Color property to TextColor.graemeg
* Created new TfpgComponent class with TagPointer property. TagPointer is like TComponent.Tag but just a pointer instead of Integer.
2008-01-31* TfpgColor is now a distinct type. Not just a longword alias.graemeg
* system or named colors like clWindowBackground are now correctly typed to TfpgColor. Hopefully this fixes the range check error under 64bit compilers. * Fixed some defaults for properties in the gfxbase unit. * Removed the unused (prototype) gfx_strings unit from the X11 fpgfx_package. * Fixed some files by adding the missing svn properties for eol styles.
2008-01-21* Fixed some memory leaks in TfpgComboBox.graemeg
* Fixed the destruction order of TfpgComboBox. * Introduced DoRemoveWindowLookup() in gfxbase.pas so that we can offload some of the responsibility from DoReleaseWindowHandle() * Add two new debug methods to help debug fpGUI and fpGUI based applications. They are PrintCallTrace() and PrintCallTraceDbgln(). * Fixed 'Index out of bounds' error when quiting your application. * I included lots of debug output in this revision, so I can test under Windows. As soon as I confirmed everything works, I'll remove the debug output again.