Age | Commit message (Collapse) | Author |
|
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.
|
|
needs to be improved though, but it is a start.
|
|
|
|
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.
|
|
* 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.
|
|
|
|
|
|
Added GFX code to the docs as well.
|
|
|
|
* Reorganized the docs directory to match the source directories.
|
|
|
|
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
|
|
* 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.
|
|
enumerated type.
* Arrows now indent with the button when pressed.
* Replaced the ComboBox image arrow with the DrawDirectionArrow function.
|
|
actual drawing. Also fixed the co-ordinates used for the triangle points - I forgot to transform them.
|
|
* Implement a DrawArrowDirection function for TDefaultStyle
|
|
|
|
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.
|
|
|
|
* 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.
|
|
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.
|
|
|
|
* Implemented the TX11Application Expose event handling
* Implemented the TX11Window etPaint message processing
* Removed the EvOnPaint event handler and replaced it by overriding ProcessEvent
|
|
* Added WidgetStyle to the TWidget in prototype
* Modified TButton in prototype to act like a button when clicked.
|
|
This is not needed under X11. This fixes the bug in prototype/multihandle in r38.
|
|
* 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
|
|
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.
|
|
* Minor code formatting of IMG code
|
|
* A few changes to get the fpguipackage compiling again.
|
|
as the same Windows expects.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* 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.
|
|
|
|
|
|
|
|
|
|
* Think I fixed the problem with the dropdown window of the TComboBox not
always appearing in the correct position.
|
|
|
|
|
|
* Implemented a TLabel in the /prototypes/multihandle app.
|
|
|
|
concept. I implemented a very basic TWidget, TForm and TButton.
|