summaryrefslogtreecommitdiff
path: root/gfx/gdi/gfx_gdi.pas
AgeCommit message (Collapse)Author
2007-07-12Removed use of the dirty list on X11sekelsenmat
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-11Freed the EvPaint method for use by descendent components and implemented a ↵sekelsenmat
EvInternalPaint for internal painting
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-09GFX: minor changes to the Paint event.graemeg
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-17Improved form freeing code and general handling of GFApplication.FormsFelipe Menteiro de Carvalho
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-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-01-09Implemented support for Windows CE on fpgfxFelipe Menteiro de Carvalho
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-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-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-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-26Implemented Screen.MousePos under Windows.Felipe Menteiro de Carvalho
2006-11-26Small bug fixes.Felipe Menteiro de Carvalho
2006-11-25Readded several image formats.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-23Implemented ProcessEvent and sending events to parent on Windows platform.Felipe Menteiro de Carvalho
2006-11-23updated templatesFelipe Menteiro de Carvalho
2006-11-21small improvement to gfx.Felipe Menteiro de Carvalho
2006-11-20Implemented sub-windows for X11. Also implemented property ChildWindows to ↵Felipe Menteiro de Carvalho
indicate all child windows of a given window.
2006-11-20Added support for sub windows on Gfx, and also an example program for thisFelipe Menteiro de Carvalho
2006-11-19Removed 4 bits and 24 bits image formats because they are not portable enougth.Felipe Menteiro de Carvalho
2006-11-19Changed singleton function names to GF prefix, changed TFImage class name to ↵Felipe Menteiro de Carvalho
TFBitmap.
2006-11-18Initial checkin. Merged fpGUI, fpGFX and fpIMG from the OpenSoft sever.Graeme Geldenhuys