summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-06Fixed the compiler error under Windows. That will teach me to test before I ↵graemeg
commit.
2008-02-06updated the Authors.txt file with correct information.graemeg
2008-02-06* Added a new unit gui_editcombo. This is still undergraemeg
heavy development. * Rename IsWinXP to IsWinXPOrLater. Also improved the check to support Windows Vista. * SetFirstItem() is now moved to the public section in gui_listbox.pas unit. * Updated the contributors list.
2008-02-05Applied patch from Slapshot fixing the TVFDPropertyEditor class. ↵graemeg
BackgroupColor property issue. * I reverted the gui_memo.pas changes from r504 to fix a cursor focus issue when the memo contains no text. I will attend to this issue soon, so we don't have to force adding a blank line.
2008-02-04* Removed the extra fpgTimers.Delete() call which caused a error an ↵graemeg
application exit. Thanks to Antonio for the hint.
2008-02-04* Applied patch from Slapshot to fix the CalendarTest compile error.graemeg
2008-02-04* Applied patch from Jean-Marc creating new properties for ComboBox and ListBox.graemeg
* Modified the edittest example to show the new changes in action.
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-02-01* Menu items that are disabled now appear as selected when the mouse moves ↵graemeg
over them, but they are still not clickable. This is normal GUI behaviour in other toolkits as well.
2008-02-01* Fixed the IFDEF so that the libc unit is only included for Linux/x86 ↵graemeg
32-bit systems. FreeBSD and Linux/x86 64-bit can't use libc.
2008-02-01* Applied patch from Jean-Marc which fixes a minor issue in the TfpgMemo and ↵graemeg
TfpgMenu components. It also adds a new BackgroundColor property to TfpgButton. * Minor fixes to Jean-Marc's patch with button painting. * The threedee example now uses the new Button.BackgroundColor property.
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-29* Composite Mediators - made some methods virtual and moved other classes to ↵graemeg
the interfaces section so that developers can extend or override them.
2008-01-28* Applied Jean-Marc memo patch adding TextColor and BackgroundColor properties.graemeg
* Renamed the Color property to TextColor for RadioButton, Memo, DBLabel, Label, Edit and CheckBox. It's less confusing.
2008-01-28* GDI: Fixed the double click issue under Windows.graemeg
2008-01-28* Removed more debug code.graemeg
2008-01-28* Removed the unused debug code in ComboBox and ListBox units.graemeg
2008-01-26* Added a new Color property to RadioButton, Button and CheckBox.graemeg
The text color can now be changed per component. * Fixed up the default values for Color and BackgroundColor for a few components. * Extended the EditTest project to show the Color property in action.
2008-01-26* Fixed the X11 event handling by using thegraemeg
correct event structures for each event.
2008-01-26Applied patch from Jean-Marc allowing TfpgEdit's text color to be changed.graemeg
2008-01-26* Middle mouse button click was never detected.graemeg
* CaptureMouse and ReleaseMouse is now not used by default for the TfpgPopupWindow class. * Menu mouse behaviour improved * Fixed Combobox dropdown that did not react to mouse clicks. * Removed support for changing the focused item with the arrow keys. It's not standard behaviour.
2008-01-26* After renaming some files from .dpr to .lpr, I forgot to update the ↵graemeg
project information page. This is now fixed.
2008-01-21* GDI: Fixed index out of bounds errors in ComboBox.graemeg
* GDI: Mouse up/down click now works similar to X11. * GDI: I still have prenty of debug writeln() statements and will only remove them once my testing is complete.
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.
2008-01-16* Fixed a bug where the Right and Centre mouse button dectection was wrong ↵graemeg
way round. * TfpgEdit now has a new PopupMenu property. If assigned that menu will appear when you Right click. If PopupMenu is nil, a default popup menu will appear with the usual Cut, Copy, Paste and Clear All items.
2008-01-14* Removed a debug writeln statement from gui_edit unit.graemeg
* Added the extra interpolation unit to fpgfx.pas so it can be auto compiled from the scripts in the src directory. * Added the missing extrafpc.cfg files from some example projects. * Renamed some of the examples main units to have the lpr extension. Consistancy with the other projects. * FreeBSD is now an official supported platform. I've compiled and ran all example and prototype projects. Everything works perfectly.
2008-01-14* ShowMessage can now Centre of Left Align the text.graemeg
* Long text with paragraphs are now handled and painted correctly in the MessageBox and Message Dialog.
2008-01-14* I wrapped libc unit and calls with IFDEF's so it should compile under ↵graemeg
FreeBSD now.
2008-01-12* Fixed MessageDialog crash on exit under Windows.graemeg
* Fixed the mbYesNoCancel button order in a MessageDialog. * Extended the FileDialog example for testing purposes of the MessageDialog class.
2008-01-11* Refactored some code so that MessageBox and MessageDialog can share some code.graemeg
* MessageDialog doesn't inherit from TfpgBaseDialog anymore. * Implemented all MessageDialog message types. * MessageDialog is pretty much working now. Buttons get created correcty. Returns the correct button clicked. Long text gets displayed and wrapped correctly. I still need to to some code cleanup and more testing and create an example program.
2008-01-11* TfpgMemo now allows the user to tab out of the component if UseTabs = False.graemeg
2008-01-11* TfpgWidget now has two new events. OnEnter and OnExit so the user can trap ↵graemeg
when a component receives or looses keyboard focus. TfpgEdit has a few new methods. Clear() which clears the Text. ClearSelection() which removes the selected text only. CopyToClipboard(), CutToClipboard() and PasteFromClipboard() is fairly obvious. TfpgEdit has some new properties. AutoSelect - in enabled (default) will auto select all text when the component receives keyboard focus. HideSelection - by default hides the selection rectangle when the components looses focus. If set to False the selections rectangle will be grayed - not the the user interfaces will look busy if many edit controls keep showing their selections, but now you have a choice.
2008-01-11* TfpgEdit now paints the selected text even if the component doesn't have ↵graemeg
focus. Different colors get used if it has focus or not.
2008-01-10* Made some nice progress with the MessageDialog class. Buttons are created ↵graemeg
dynamically. Captions get set and the default button gets set. I still have plenty to do, but it's progress.
2008-01-10Applied patch from Vladimir fixing button MouseEnter and MouseExit events.graemeg
2008-01-09* Started working on a fpGUI Message Dialog feature.graemeg
2008-01-08* Fixed StringGrid composite mediator. The column title was never set correctly.graemeg
2008-01-07* Moved many methods from Public to Private or Protected in gui_menu.pasgraemeg
* Added a lot more sanity checks to prevent unnecessary processing. * Removed unnecessary requests for painting outside the HandlePaint method. * Menus are working again under Windows.
2008-01-04* GUI: Moved all MenuItem painting into the Paint event handler.graemeg
* GUI: MenuItems OnClick is now triggered on mouse button up (like all other toolkits). * GUI: Clicking outside a menu while it's open doesn't trigger the OnClick event anymore. * Examples: Extended the menu example to show when each menu item's OnClick was triggered. * All the above needs testing under Windows.
2008-01-03* Reworked the timing of when windows get removed from thegraemeg
internal lookup list. * Reordered some methods on destruction of a form. * fpGFX-X11 now reports lost windows for X11 events. * Added extra checks in the X11 event handling to make sure we have found a actual window before we try and process the event. This fixes the crashing of applications when you close a window by clicking the X button on System Menu.
2008-01-03* Applied gui_edit.pas patch from David Emersongraemeg
2008-01-02* Fixed AV that occurs when a combobox is opened and closed a few times.graemeg
* A minor improvement to the internal stringlist for ListBox components.
2007-12-27* ComboBox dropdown now opens and closes as expected when you click insidegraemeg
the body of the combobox. * When OnClick was introduced in TfpgWidget, it caused duplicate OnClick calls. This has now been fixed. * PopupWindow.Close now calls HandleClose instead of HandleHide. * Fixed a few bugs in ComboBox and ListBox components.
2007-12-23GDI: Fixed issues where the mouse is used to resize controls in the UI ↵graemeg
Designer. Needs further testing as the UI Designer is acting strangely in other cases.
2007-12-15GFX/X11 * Minor fix to netlayers handling of splash screens.graemeg
2007-12-15* Added a new WindowAttribute called waStayOnTop. * Modified the ↵graemeg
SplashScreen example to use the new window attribute. * Modified gfx_x11 to use the new waStayOnTop attribute and also to define a window type SplashScreen via newlayers.
2007-12-14* Implemented Cell Text Alignment.graemeg
* Fixed CalendarCombo so dates are centered in grid cells. * Fixed memory leak in AbstractCombobox. * Modified the GridTest example to show the column text alignment in action.
2007-12-14* Implemented a OnClick event in TfpgWidget.graemeg
* published OnClick and OnDoubleClick in TfpgLabel, TfpgButton, TfpgBevel.
2007-12-13* A new GUI example showing how to implement a Splash Screen.graemeg