summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-09Implemented support for Windows CE on fpgfxFelipe Menteiro de Carvalho
2007-01-08Fixed the GUI WidgetDemo example as well.Graeme Geldenhuys
2007-01-07Added more doc scripts and amended existing ones.Graeme Geldenhuys
Added GFX code to the docs as well.
2007-01-07more docs changesGraeme Geldenhuys
2007-01-07* Update the fpdoc scripts.Graeme Geldenhuys
* Reorganized the docs directory to match the source directories.
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-07Removed the LCL dependency that somehow crept into the TestLayout demo.Graeme Geldenhuys
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-12-06Moved the inherited call in TWidget.ProcessEventGraeme Geldenhuys
2006-12-05One-Handle-Per-WidgetGraeme Geldenhuys
* Implemented the TX11Application Expose event handling * Implemented the TX11Window etPaint message processing * Removed the EvOnPaint event handler and replaced it by overriding ProcessEvent
2006-12-03* Added WidgetState to the TWidget in prototypeGraeme Geldenhuys
* Added WidgetStyle to the TWidget in prototype * Modified TButton in prototype to act like a button when clicked.
2006-11-30TGDIWindow.Show now recursively calls the Show method of all ChildWindows. ↵Graeme Geldenhuys
This is not needed under X11. This fixes the bug in prototype/multihandle in r38.
2006-11-29One-Handle-Per-WidgetGraeme Geldenhuys
* TForm now descends from TWidget. This removed a lot of code * TWidget now sets the Title by default to Classname. Under X11 this is handy when runnning xwininfo, which will now show form structure with classnames for each window. * TWidget now has a default WindowOptions type of woChildWindow * TForm has a default WindowOptions type of woWindow
2006-11-29* Optimised X11 so that only one Expose event will occur from the X ServerGraeme Geldenhuys
when mapping the top level parent window. * The Prototype GUI has been modified to not auto call Show when a Widget or Form is created.
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-26Fixes image example bug on X11, by fixating the byte order for RGB formats ↵Felipe Menteiro de Carvalho
as the same Windows expects.
2006-11-26Continued implementing processEvent on x11.Felipe Menteiro de Carvalho
2006-11-26Implemented Screen.MousePos under Windows.Felipe Menteiro de Carvalho
2006-11-26Small bug fixes.Felipe Menteiro de Carvalho
2006-11-26Updated messaging on x11.Felipe Menteiro de Carvalho
2006-11-25Fixes to image conversion.Felipe Menteiro de Carvalho
2006-11-25Minor fix.Felipe Menteiro de Carvalho
2006-11-25Readded several image formats.Felipe Menteiro de Carvalho
2006-11-24Moved emulayer to top gfx folder.Felipe Menteiro de Carvalho
2006-11-24Moved emulayer to x11 folder.Felipe Menteiro de Carvalho
2006-11-24* Moved the Title property from TFApplication to TFCustomApplicationGraeme Geldenhuys
* Removed a lot of compiler warnings under Linux. * Fixe a bug where TX11Canvas.DoCopyRect was using a local unused variable instead of the passed in param.
2006-11-23Small fix on comment.Felipe Menteiro de Carvalho
2006-11-23Fixed compilation on X11.Felipe Menteiro de Carvalho
2006-11-23Implemented ProcessEvent and sending events to parent on Windows platform.Felipe Menteiro de Carvalho
2006-11-23Improved the painting. Added a TEdit component.Graeme Geldenhuys
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-23updated templatesFelipe Menteiro de Carvalho
2006-11-22Prototypes TLabel didn't paint background correctly under Windows.Graeme Geldenhuys
2006-11-22* Implemented Canvas.GetColorGraeme Geldenhuys
* Implemented a TLabel in the /prototypes/multihandle app.
2006-11-22Added more details when the TButtons and which ones get painted.Graeme Geldenhuys
2006-11-22Created a prototype GUI widget set demonstrating a one-handle-per-widget ↵Graeme Geldenhuys
concept. I implemented a very basic TWidget, TForm and TButton.
2006-11-22Added debug OnPaint code to see when OnPaint fires.Graeme Geldenhuys
2006-11-21small improvement to gfx.Felipe Menteiro de Carvalho
2006-11-20* Fix color depths under X11. 24bit was not working.Graeme Geldenhuys
* Changed the SubWindow example to paint a bit better.
2006-11-20Fixes incorrect thing commited.Felipe Menteiro de Carvalho