summaryrefslogtreecommitdiff
path: root/src/corelib/gfx_widget.pas
AgeCommit message (Collapse)Author
2008-04-02* Applied patch (#1930945) from Jean-Marc which introduces a new component ↵graemeg
in gui_panel. * Added the gui_panel demo to the examples directory. * Applied a minor painting fix to the Panel groupbox style. * Extended the gui_panel demo to show the Raised and Lowered look.
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-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-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-11* Implemented a global MessageHook feature where one component can register ↵graemeg
and listen to another components messages.
2008-03-11* Popup Menu display via Menu Key is now centred in active widget.graemeg
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-10code formattinggraemeg
2008-03-04* More more on the MiG Layout port.graemeg
* Added new resourcestring constants to the translation language files. * Localized all the GUI units.
2008-02-25* I believe I fixed the Button down state and Mouse Events issue. It now ↵graemeg
works under Linux. I still need to test under Windows. * Remove the unneeded .ReleaseMouse call in EditCombo unit. * Added new credit in the Authors text file * Fixed the tab order of the Wu Line example project.
2008-02-20* Applied Vladimir's patch for arrow key support in RadioButtons.graemeg
* TfpgWidget.TabOrder is now set at creation time. * Published the TabOrder property for all components that can receive keyboard input. * Extended the UI Designer so the TabOrder property can be edited.
2008-02-16* Implemented correct MouseEnter and MouseExit detectiongraemeg
under Winodws. Windows doesn't have such OS level events. * Added some safety net code around fpgSendMessage and fpgDeliverMessage methods.
2008-02-15* Applied Jean-Marc's TextColor and BackgroundColor patch.graemeg
* Made many more modifications based on Jean-Marc's patch and fixed a few things missed.
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-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-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-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-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-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-14* Implemented a OnClick event in TfpgWidget.graemeg
* published OnClick and OnDoubleClick in TfpgLabel, TfpgButton, TfpgBevel.
2007-12-11* Fixed TfpgApplication to call CheckSynchronize in the application loop so ↵graemeg
multithreaded applications will work. * TfpgApplication now inherits from TComponent so it can act as a container for other components like Forms. * Implemented CreateForm in TfpgApplication. * Fixed the default Height of TfpgComboBox to look at the specified Font instead of a hardcoded value.
2007-11-07* Added a OnKeyPress event to TfpgWidget. It can now be surfaced by anygraemeg
descendants. * Added keyboard handling to Calendar component. * Surfaced OnKeyPress event in TfpgEdit and TfpgStringGrid. * Updated the lazarus code template file.
2007-10-18* Improved the implementation of the Minimum Width/Height graemeg
support under Win32. * Fixed bug #1811433 where the Anchor feature was broken when resizing forms under Windows. We never took into account the window border width and title bar height.
2007-10-18* Win32: Implemented MinWidth and MinHeight constraint support for Forms. ↵graemeg
Not sure if we need it for any Widgets or just Forms.
2007-10-15* Published BackgroundColor and OnPaint for TfpgFormgraemeg
* TfpgWidget.HandleShow now always sets Visible = True. This fixes issue with the fpGUI-LCL interface as well. * Added a few more safety checks into the PageControl widget. * The OnPaint event is now wrapped with BeginDraw/EndDraw calls so that a event handler for OnPaint doesn't need to call it explicitly.
2007-10-10* Resizing widgets now take into account the MinWidth and MinHeightgraemeg
properties. In affect you now cannot resize components into the negative with the UI Designer. * UI Designer: On deleting a component from a form, resets the Object Inspector. * Fixed 'division by zero' errors for the ListView and Memo components when they get resized to smaller that 2x2 pixels in size.
2007-09-08* Made a few modifications so the GUI Designer works under Windows.graemeg
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-09-07GFX: Added support for handle component creation at runtime correct graemeg
while the parent component is already visible. * GUI: Introduced the usage of ComponentState so that the components react correctly in the GUI Designer. Not all components are tested yet. * GUI Designer almost paints the designed form correctly. When placing a component, they are invisible, but as soon as you resize them, they are painted correctly. This is still work
2007-09-07* GUI: Made some components properties published so the RTTI cangraemeg
be used against them. A required for the GUI Designer and streaming. * GUI Designer: Added 8 new components to the component palette. * GUI Designer: Other minor improvements.
2007-09-06* Added a new generic property to TfpgWidget to dispatch messages sograemeg
the GUI Form Designer can intercept them. * File Save dialog can now save even if the file does not exist. Still needs a little bit of improvement. * GUI Designer now detects OS messages in designer window. * Painting has been improved a bit, though the z-order is still screwed. * The formating of a new template unit has been improved.
2007-09-06* Moved some methods or properties to the public or published area.graemeg
* Added a new example project. A fpGUI visual form designer. Still not working 100% but it is getting there.
2007-08-27* Implemented List Mediators with tiOPF support and added a demo.graemeg
* Added a quick workaround for the InvertCaret function causing a AV. * MenuBar now keeps the current menu focused even if you open more than 2 levels deep of Popup Menus. * Added some TODO entries to Widgets. Also published some missing properties. * Fixed repainting issue with TfpgComobBox when you set the Width from code and made the component focusable. Not sure why it wasn't! * Updated Lazarus IDE code template for new fpGUI applications.
2007-08-24* Ported the Generic Edit Mediator for use with tiOPF.graemeg
* Minor changes to other gui controls like missing published properties etc. * Added a Hint property to TfpgWidget, but it is not usable yet.
2007-08-21* GDI: Oops. The previous revision broke left click. Now fixed.graemeg
* After a Double Click event occurs, the Mouse Up event also occurs. The previous revision did not let the Mouse Up fire, which was wrong.
2007-08-21* Removed OS based Double Click from GDI.graemeg
* Manually implemented OS independent Double Click support in TfpgWidget.
2007-08-21X11: The start of implementing a Double Click event.graemeg
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-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 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-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-24minor fix to TfpgLabel again.graemeg
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-23The first part of removing the obsolete fpGUI and replacing it with the new ↵graemeg
multi-handle design from the prototypes directory.