summaryrefslogtreecommitdiff
path: root/gfx
AgeCommit message (Collapse)Author
2007-07-12Small fixessekelsenmat
2007-07-12Removed use of the dirty list on X11sekelsenmat
2007-07-12Implemented a better Invalidate for X11 and fixed mouse release on X11sekelsenmat
2007-07-12Fixed compilation on X11 and adapted its code to the new pixel formatsekelsenmat
2007-07-11Changed Invalidate to have no parameters. Now button down kind of works on ↵sekelsenmat
the new multihandle
2007-07-11Added style manager for the new multihandle prototype. Changed color ↵sekelsenmat
channels from Word to Byte on Gfx.
2007-07-11Implemented the new event model on X11sekelsenmat
2007-07-11Freed the EvPaint method for use by descendent components and implemented a ↵sekelsenmat
EvInternalPaint for internal painting
2007-07-11fixed the svn EOL property of a gfx unitgraemeg
2007-07-11Improved double buffering and implemented partial paintingsekelsenmat
2007-07-11Implemented double buffering for Gfxsekelsenmat
2007-07-11Removed Rect parameter from Paint eventsekelsenmat
2007-07-11Changed the event model on Gfx. We have several methods instead of only one ↵sekelsenmat
big method now.
2007-07-10Small fix for the carbon backend.sekelsenmat
2007-07-09GFX: minor changes to the Paint event.graemeg
2007-07-09GFX: Changed TFCustomWindow to descend from TComponent.graemeg
EventTest: extended the example a bit to test a few more things.
2007-07-09Wrong parameters in GFX/gdigraemeg
2007-06-08* Moved the TColor definition to the GFX codegraemeg
* Changed the TFBitmap.Lock methods parameters from var to out. * Implemented a GfxColorToTColor() method
2007-05-31Moved the handle internal field to platform specific area. Added GetHandle ↵sekelsenmat
function. Improved carbon interface
2007-05-31Renamed SetFont_ to DoSetFont. Carbon interface now compiles, links and runs ↵sekelsenmat
(but doesn't do anything)
2007-05-28Updated the img/masktest example to compile with latest GFX changes.graemeg
2007-05-28fixed svn properties on /img directorygraemeg
2007-05-27* Minor improvement in setting the window title under X11.graemeg
* Thanks to Felipe for fixing the TFBitmap issue, the Base Style in the GUI can now use bitmaps under Linux as well.
2007-05-27Fixed image showing on Gfxsekelsenmat
2007-05-27small improvements to painting system on x11sekelsenmat
2007-05-25Improved carbon interfacesekelsenmat
2007-05-25Added initial carbon interfacesekelsenmat
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-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 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-15Changed default X11 Xft font name and size.Graeme Geldenhuys
2007-04-15Fixed the issue with not Xft font support and the default font could not be ↵Graeme Geldenhuys
created.
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-09Started appending F to classes on fpgui, to make its namespace more uniqueFelipe Menteiro de Carvalho
2007-04-06Added X11Displayproperty to TX11ApplicationAndrew
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-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* Minor change in the menusGraeme Geldenhuys
* Enabled Xft (anti-aliased) font support in fpGFX
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* Added a new unit to manage command line parameters.Graeme Geldenhuys
* TFCustomApplication now checks for parameters before entering the event loop. -? will show the help without running the application. * -display parameter is now supported for X11 systems.
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-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-09Implemented support for Windows CE on fpgfxFelipe Menteiro de Carvalho
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