summaryrefslogtreecommitdiff
path: root/gui
AgeCommit message (Collapse)Author
2007-05-23* Minor changes to the Widgettest Edit Form.graemeg
* Implemented a very basic TFMemo component. Lots of things are still outstanding. This is just the beginnings of the component. * Updated the WidgetTest example to include a Memo Form
2007-05-18* Removed the old Xlib Font support form fpGFX/X11Graeme Geldenhuys
* Fixed the Xtf font support in fpGFX/X11 to use the UTF-8 Xtf functions instead of the UTF-16 functions. * Fixed the GUI TFEdit by removing all usage of the WideString type
2007-05-18* Added a new UTF8 Utils unit with some handy functions.Graeme Geldenhuys
* Modified TFEdit to be UTF8 friendly. Needs testing. * Modified the WidgetTest - Edit Fields form to show UTF8 text in the TFEdit component for testing.
2007-05-18* Fixed a bug introduced in r100 where Forms are not displayed anymoreGraeme Geldenhuys
under Linux (X11). * Renamed all internal component names that started with a hash (#) to a underscore (_). For some reason a hash+<text> may not be used as a component name anymore. Must be a FPC 2.1.3 thing. * UTF8 support has been added to GFX/X11. This still needs some more testing, but it seems to be fine.
2007-05-17Improved form freeing code and general handling of GFApplication.FormsFelipe Menteiro de Carvalho
2007-05-16* GUI: Reimplemented from scratch the scrolling of text in a TFEditGraeme Geldenhuys
* GUI: Fixed bug 8877 - When you click at the end of text the cursor is in the wrong possition. * GUI: Other minor bug fixes to TFEdit when setting text.
2007-05-16* Implemented two new Windows styles. The Win9x look and the Win2000 look. ↵Graeme Geldenhuys
The later has more flat buttons. * Modified the OpenSoft style to use the buttons of Win2000. * The default style, auto, now uses the Windows 2000 style.
2007-05-09* Radio buttons can now be drawn as disabled under Linux. This is still a ↵Graeme Geldenhuys
work-around imprementation until the palette issue is fixed in GFX/X11
2007-05-02Updated version number and licensing headers under Windows. Also set correct ↵Graeme Geldenhuys
SVN Property Settings for DBFTest example.
2007-05-01* GUI: Implemented a very basic TDBEdit componentGraeme Geldenhuys
* GUI: Implemented a few more properties in TFieldDataLink * GUI: Implemented a ReadOnly property in TCustomEdit (still work in progress) * GUI: The TStyle function that draws the Edit Box now takes an extra parameter - IsReadOnly and paints the edit box background the appropriate color. * Demos: Updated the DB demo to show the TDBEdit in action.
2007-05-01* GUI: Implemented a very basic ShowMessag() function. Graeme Geldenhuys
This is still work in progress! * GUI: Implemented TFBoxLayout.RemoveChild * GFX/X11: Fixed a issue with the TextExtent where the lower curl of the character g will get clipped * GUI: Implemented a basic TDBLabel component * GUI Demos: Implemented a basic DB Test example. This is still work in progress and only tested under Linux. * GFX: Minor AMD64 fix for the unitxft.pas unit
2007-04-25* After the last patch of the TEdit it broke the PasswordChar feature which ↵Graeme Geldenhuys
is now fixed again. * Removed the anoying feature when you drag a scrollbar and move out of bounds, the scrollbar jumps back to the original position. Maybe we can keep that behaviour, but enabled via a property. * Busy implementing a SaveForm function, but still experimental and mostly for debugging only.
2007-04-17* Applied TFEdit patch from Maciej Kaczkowski enabling theGraeme Geldenhuys
text to scroll. Also implemented BorderStyle property. * I made minor changes to Maciej patch. * Updated the WidgetTest demo to showcase the new features.
2007-04-17WriteLn will crash on windowsFelipe Menteiro de Carvalho
2007-04-10* Fixed TFFixedLayout, TFDockedLayout implementationsGraeme Geldenhuys
* Updated the Layout demo and enabled all available layout managers. * Fixed the text clipping issue under Linux now that it uses Xft as default. * Fixed the Text Size issue under Linux now that it uses Xft. It report the wrong text size so the focus rectangle was draw wrong. * Adjust the scrollbar and combobox arrow button size to remove the tiny gap that appear below it.
2007-04-10* Fixed a TStyleAbs method name after the classname changes.Graeme Geldenhuys
* Fixed a minor bug in the CalsSize method of TFixedLayout * Fixed the WidgetTest demo after the gui class names changed.
2007-04-09Removed the inline functions in fpgui.pas which solved the problem with FPC ↵Graeme Geldenhuys
wanting to recomile that unit when not really needed. Most of the times it reported that StyleManager.pas could not be found.
2007-04-09Started appending F to classes on fpgui, to make its namespace more uniqueFelipe Menteiro de Carvalho
2007-04-06removed unused entries in the uses clause.Graeme Geldenhuys
2007-04-06Renamed all the inc files to have the fpgui prefex. This will minimize the ↵Graeme Geldenhuys
namespace conflicts in Lazarus LCL.
2007-04-06Renaming the inc files. This is a test as I could not use svn mv command ↵Graeme Geldenhuys
before on SourceForge
2007-04-05* Fixed bug in gfx_gdi with DoDrawImageRect. Only the first palette color ↵Graeme Geldenhuys
could be set, then an AV occured. * Fixed many include file headers * Reimplemented the images for CheckBox, RadiouButton and button Arrows in the TBasicStyle class. X11 stil has some palette issues, so manual drawing still occurs.
2007-03-18more documentation updates as well as scrip updates to build the documentation.Graeme Geldenhuys
2007-03-18worked on the documentation a bit. Cleaned up some xml files. Created new ↵Graeme Geldenhuys
docs for the newly added files in the last few revisions.
2007-03-10* Implemented the Motif style CheckBox.Graeme Geldenhuys
2007-03-10* Minor change in the menusGraeme Geldenhuys
* Enabled Xft (anti-aliased) font support in fpGFX
2007-03-08* Reset the default style to Windows Style for now.Graeme Geldenhuys
* Fixed the WidgetDemo example to use the new features of the Style Manager.
2007-03-08* Reworked the Style Manager to behave like a factory pattern.Graeme Geldenhuys
* New and custom styles can now register themselves with the gStyleManager * I've split all the concrete styles into seperate units. * I've rename the TStyle to TStyleAbs which more clearly shows what it is. * Renamed TDefaultStyle to TBasicStyle to show that it it implements the basic drawing routines for a style and is recommended for custom styles to descend from.
2007-03-07* Extending the StyleManager to behave like a class factory. All Style ↵Graeme Geldenhuys
classes will register with the factory and the factory will create the styles as needed.
2007-03-07* Popupu menus now close on item selection.Graeme Geldenhuys
2007-03-07* Added more debug events.Graeme Geldenhuys
* Implemented a very basic TPopupMenu * Modified the WidgetTest demo to show the basic popup menu (still needs work).
2007-02-07* Major improvements to Xft (anti-alias) font support under X11. I nowGraeme Geldenhuys
have a new class that seperates the Xlib font and Xft font support, so I don't have to have that many IFDEFs in the code. * Positioning of the Xft fonts now work. Issues with Xft fonts: * Repeated redrawing of text causes strange artifacts. * Application crash when any window is closed. A font freeing issue.
2007-01-23Menu items now indent when the mouse moves over them. The painting still ↵Graeme Geldenhuys
needs to be improved though, but it is a start.
2007-01-23* MouseLeaveCheck no fires off a MouseEnter and MouseLeave event for widgets. Graeme Geldenhuys
This makes writing other widgets easier. * Fixed the button size of the TComboBox widget. * Fixed the examples/gui/helloworld application. * Added a extras directory where we can store all kinds of stuff. Currently I added a Lazarus code template for creating a new fpGUI application. * Fixed a bug in fpGFX/X11 where the OnEnter event was checked when in actual fact the OnLeave event occured. * Fixed up some code to start Xft support for Linux again. * Internal or composite widgets like the Button in the ComboBox are now named with a hash and then the name.
2007-01-16* Cleaned up the Layout classesGraeme Geldenhuys
* Re-implemented the TMainMenu and TMenuitem classes. We now have working MainMenu though still limited. * Fixed up the WidgetTest demo to show the workings of the menu classes.
2007-01-08Fixed the GUI WidgetDemo example as well.Graeme Geldenhuys
2007-01-07Created a new window option woModal which will be used for Modal Forms.Graeme Geldenhuys
2006-12-27* Introduced the Color property to TWidget. Not all widgets take this propertyGraeme Geldenhuys
into account yet, but will soon. * Fixed bug where if you call TForm.Show multiple times, it keeps adding the internal Wnd pointer to the GFApplications.Forms list and later causes a AV. * Fixed bug where TCustomForm didn't have the WindowOption woWindow set so TCustomForm decendants never got displayed under Windows. * Amended the TCustomForm, TCustomPanel, TCustomMenu and TCustomLabel to handle the TWidget.Color property correctly. * TComboBox now draws the dropdown window correctly. Scrolling the list of items using the horizontal scrollbar caused strange artifacts to appear. * Horizontal scrolling is now also supported in the TComboBox dropdown window for lengthy items. * Implemented a very basic TRadioButton glyph for now. It looks damn ugly, but it works. Will improve the glyph shortly. * TCustomForm now passes the correct WindowOptions to the TFWindow.Create constructor. * For now I duplicate some functions from the types.pp FPC unit into fpgui.pas
2006-12-12* Removed all internal images from the DefaultStyle.Graeme Geldenhuys
* Replaced the CheckBox image by actually drawing the cross ourselves. * RadioButton still hasn't been drawn yet. Will be done soon. * Fixed the setting of colors for the scrollbar buttons. * fpGUI now works under Windows as well, though the arrows in ScrollBar still isn't painting 100% correct.
2006-12-12* Replaced the Direction parameter in DrawDirectionArrow function with aGraeme Geldenhuys
enumerated type. * Arrows now indent with the button when pressed. * Replaced the ComboBox image arrow with the DrawDirectionArrow function.
2006-12-07* Replaced the triangle on the scrollbars from a internal image to doing the ↵Graeme Geldenhuys
actual drawing. Also fixed the co-ordinates used for the triangle points - I forgot to transform them.
2006-12-07* Implement a FillTriangle method for TFCustomCanvas.Graeme Geldenhuys
* Implement a DrawArrowDirection function for TDefaultStyle
2006-12-07Removed some compiler warnings and deleted the old gui/applications.inc unit.Graeme Geldenhuys
2006-12-07* Created a LoadForm function in fpgui unit. This is just a stop-gap to getGraeme Geldenhuys
the demos working easier. LoadForm reads the .frm file to build the Form. * WidgetTest demo works 100 under Linux. The Style images used on components like up/down arrows, radio button circle, etc are still not drawing correctly.
2006-12-07* Implemented AddWindow and RemoveWindow in TFCustomApplication.Graeme Geldenhuys
* In TCustomForm the Show and Close adds or removes the internal Wnd to GFApplication, otherwise they don't receive system events. * Started fixing up the Layout Test demo.
2006-12-06* Added CreateBitmapCanvas and CreateMonoBitmapCanvas to TFCustomScreen class.Graeme Geldenhuys
This is required for Styles to work. It could maybe be moved to another class if needed. * Create the missing instances for ImageCanvas, MaskCanvas and Palette in TDefaultStyle. * Removed the ADisplay parameter from the TStyle constructor. * Adapted the UTF Demo to work with the fpGUI changes. Tested under Linux only.
2006-11-28* Starting fixing up the utfdemo for use with the new GFX.Graeme Geldenhuys
* Minor code formatting of IMG code
2006-11-28* Fixed the fpgfxpackage to reflect the removal of the emulayer directory.Graeme Geldenhuys
* A few changes to get the fpguipackage compiling again.
2006-11-23* Toying with the idea of a TPopupWindow class in the multi-handle prototype.Graeme Geldenhuys
* Think I fixed the problem with the dropdown window of the TComboBox not always appearing in the correct position.
2006-11-20* Fixed all references from gApplication to GFApplication under LinuxGraeme Geldenhuys
* Fixed all references from TX11Image to TX11Bitmap * Removed all references for 4bit and 24bit image formats.