summaryrefslogtreecommitdiff
path: root/src/gui
AgeCommit message (Collapse)Author
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-27* Fixed the annoying bug in grids where you clicked the last visible row and ↵graemeg
the grid scrolled for no reason.
2008-03-27* Minor fix in TfpgEdit where text did not repaint after Cut or ↵graemeg
ClearSelection calls.
2008-03-27* TfpgEdit cursor position performance patch from Vladimir.graemeg
2008-03-25* Added some new skeleton documentation for newly added units.graemeg
* Updated the gui_hyperlink documentation. * Updated documentation scripts. * Fixed the painting bug in gui_basegrid where the top-right and bottom-left text or images paint over the control frame.
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* Applied minor patch from Jean-Marc to allow scrollbars to be adjusted when ↵graemeg
Grid.RowCount is set.
2008-03-25Applied patch from Jean-Marc to allow setting the editbox to be cleared, andgraemeg
the dropdown to close when return key has been pressed
2008-03-25applied patch from Jean-Marc allowing ImageName to be set at creation.graemeg
2008-03-25* Minor changes to menu and About fpGUI dialog.graemeg
2008-03-24* More improvements to the ColorListBox component.graemeg
* Created a new Color ListBox example project.
2008-03-23* Implemented a basic Color ListBox component. It is still incomplete and ↵graemeg
has no published properties yet.
2008-03-22* Increased double buffer on x11 efficiencydrewski207
* Fixed a bug on listbox that allowed Item 0 to be selected with the mouse * Fixed a possible bug for TfpgTimer that possibly could allow timers to be skipped if timer(s) were destroyed during the callback
2008-03-22* Small change to gui_edit where the edit will scroll when the mouse moves ↵drewski207
past the visible text
2008-03-22* Added property PageSize to Scrollbardrewski207
* Fixed some Scrollbar cosmetic bugs * Shortened scroll timer delay to 300 ms
2008-03-22* Made Scrollbox use an enum to keep track of the partdrewski207
which is down since only one part can be down at a time. This removes 4 boolean members. And allows case to be used. * Scrollbar now will continue scrolling when the mouse is pressed in the space between the slider and arrow.
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-21* Applied patch [1919861] from Jean-Marc for TfpgLabel.graemeg
2008-03-21* Applied grid patch from Jean-Marcgraemeg
* Fixed some bugs in Jean-Marc's patch. Grid.TextColor and Grid.BackgroundColor had no affect. * Extended the GridTest example showing the new features and OnCellDraw example.
2008-03-20* 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.
2008-03-19* ComboBox and CalendarCombo now work identical under Linux and Windows. ↵graemeg
Combos close when clicking in the main combo area. Testing Win2000 and Linux.
2008-03-19* Finally I seem to have solved the mystery of the ComboBox that refuses to ↵graemeg
close. And what a silly bug it was. * Applied a minor fix to CalenderCombo so it behaves like the normal ComboBox.
2008-03-18* UI Designer: Implemented a new property editor for the FontDesc property. ↵graemeg
It now calls the Font Select dialog.
2008-03-18* When a form is Moved, Resized or Deactivates all popup windows are closed.graemeg
2008-03-18* Fixed a bug in the translation units where if both toolkit and application ↵graemeg
translation files do not exist, the translation failed. This is now well tested under Linux for any combination. * Minor update to the Font Select dialog so translated text are not clipped.
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-17* TfpgStringGrid now has a OnDrawCell event. If the user sets ↵graemeg
ADefaultDrawing = True, fpGUI will do standard painting. If user sets ADefaultDrawing = False, it is up to the user to do painting for that cell.
2008-03-17* Applied the patch form Antonio. The beginnings of a TfpgNumericEdit component.graemeg
2008-03-17* Minor patch form Jean-Marc. Change avoids to check for an item in the list ↵graemeg
with an index value = -1
2008-03-17* Applied patch form Antonio added Today button in CalendarCombo component.graemeg
* Added new resource strings for days of the week and months of the year. * fpGUI based applications now set the internal Day and Month arrays from FPC to the correct locale. CalendarCombo now displays the days and months in the correct language. * UI Designer failed to save a form that has a CalendarCombo on it. This is now fixed.
2008-03-16* A minor fix in TfpgCustomEdit.HandleKeyChar so that it does not override ↵graemeg
the Consumed parameter variable.
2008-03-16* I implement an improved positioning of dropdown window of Combobox and ↵graemeg
EditCombo when it runs out of screen space. It also handles resizing if the dropdown is bigger that the screen is high. * Started refactoring the ComboBox and EditComboBox. There was just to much code duplication. I am still busy with it, but please test and let me know if I broke something.
2008-03-16* Fixed a bug in File Save Dialog where you can not save a new file anymore.graemeg
* Fixed the ComboBox dropdown flicker issue under Linux. I still need to test if it exists under Windows to. * Fixed the Popup Menu bug under Linux where it keeps closing before you can use the menu.
2008-03-16* Applied patch [1909573] from Jean-Marc making changes to EditCombo component.graemeg
2008-03-15* Removed the old TDropdownWindow class from gui_combobox.pas unit.graemeg
* ComboBox OnChange event now fires again. * Found and tagged the Dropdown window flicker issue, but not sure how to fix it yet.
2008-03-15* TfpgComboBox - Implemented a new internal dropdown window. It is a cleaner ↵graemeg
design and does not contain the keyboard bug detected after the dropdown window is shown. * TfpgComboBox now supports Alt+Down Arrow to open the combobox dropdown. * TfpgComboBox now position the Focusitem in a much better way and takes into account the beginning, middle or end of the drowdown list and the dropdowncount.
2008-03-14* Applied various patch from Vladimir which implements locale file encoding ↵graemeg
support and improves the file dialog.
2008-03-14* Applied ComboBox patch from Antonio to allow Up and Down keys to change ↵graemeg
selected item.
2008-03-14* Applied on the TopRow property changes from Jean-Marc's patch [ 1909562 ].graemeg
2008-03-14* Implemented a new OnCanSelectCell event for Grids. Works via keyboard or ↵graemeg
mouse input. * Removed the duplicate implementation or BackgroundColor in Grids.
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-13* Fixed the extrafpc.cfg file due to latest restructure of gfx_utils.pas unit.graemeg
2008-03-12* Applied User Prompt Dialog patch from Antonio.graemeg
* Minor changes to the message dialogs.
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-12* Applied patch [ 1911897 ] label bug fix patch - from Jean-Marc.graemeg
* Added some extra bug fixes. Wordwrap resized the component even thought AutoSize = False. * Resizing the TfpgLabel component doesn't re-wordwrap the text if Wordwrap = True.
2008-03-12Applied patch [ 1911886 ] listbox patch for editcombo bug from Jean-Marcgraemeg
2008-03-11* Implemented a new fpgGetNamedFontList() functiongraemeg
* Enabled Font Collections support in the Font Select Dialog. Currently only the All Fonts and Alias Fonts collections are active. * TfpgMemo now has a custom internal StringList that will notify the memo of text changes. * Made many code improvements to gui_listbox unit. Lots of redundant code was removed. * Fixed a bug in gui_listbox where the OnChange event did not fire for all instances of FocusItem changing. * Fixed a bug in gui_listbox KeyPress event where it did not take into account that FocusItem is 1-based.
2008-03-10* Implemented the New Directory Dialog and added it to the File Open and ↵graemeg
File Save dialog.