summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-05-05Moved fpg_style to prototypes fpg_styler unit.Graeme Geldenhuys
This gives use the fpg_style unit in the 'gui' directory to implement styles we can actually use at this time with the existing theming code.
2011-05-04more work on the prototype style test project.Graeme Geldenhuys
These changes allows us to test the DrawControl(ecPushButtonLabel, ...) implementation. Either way, the fpg_style.pas unit is still crap anyway.
2011-05-04Prototype style: implemented cuPushButtonLabelGraeme Geldenhuys
This fpg_style prototype unit should really be removed. I don't like the code at all, and it isn't actually used in any of the GUI widgets yet.
2011-05-04Prototype style: implement "draw focus rect" from scratch.Graeme Geldenhuys
2011-05-04Call methods from fpgStyle directly.Graeme Geldenhuys
Seeing that we already use a few methods directly from fpgStyle, lets change all the others to be consistent.
2011-05-04Introduced the usage of fpgStyle.GetButtonShift.Graeme Geldenhuys
Custom styles can now define there own button shift values and the TfpgButton will adhere to them.
2011-05-03AText variable was never really used, so I removed it.Graeme Geldenhuys
2011-05-03Fixed a compiler warning. I forgot to set the function result.Graeme Geldenhuys
2011-05-03New style method introduced: TfpgStyle.GetButtonShiftGraeme Geldenhuys
This allows a style to define by how much the button image and text must shift (if at all) when the button is pressed. Possitive numbers moves right and down. Negative numbers move up and left. Zero values means the icon and text doesn't move [like under Mac OS X].
2011-05-03marked various methods with overload.Graeme Geldenhuys
I know in FPC mode objfpc it is not strictly needed, but lets keep to the Object Pascal language standards for now.
2011-05-03Introduced a new overloaded method TfpgStyle.DrawButtonFace()Graeme Geldenhuys
2011-05-03Reduced compiler hints by removing unused entries in uses clause.Graeme Geldenhuys
2011-05-03promoted nested function CalculatePositions() to a method of TfpgBaseButtonGraeme Geldenhuys
2011-05-03changes to prevent text clipping in prototype demoGraeme Geldenhuys
2011-05-03New wipfc (help compiler) binaries.Graeme Geldenhuys
These binaries contain the fix for the bug where generated INF files was not searchable. The fix is applied to both the Linux and Windows executables.
2011-04-23UI Designer: registered the new TfpgEditButton componentGraeme Geldenhuys
2011-04-23minor TfpgEditButton improvements when used inside the UI Designer.Graeme Geldenhuys
2011-04-23new TfpgEditButton component with ellipses glyph on the button.Graeme Geldenhuys
2011-04-07Another article on reading the INF fileGraeme Geldenhuys
2011-04-07More documentation on the INF file formatGraeme Geldenhuys
2011-04-06docdump: fixes the TOC entry offset values in hex and bytes.Graeme Geldenhuys
The offset is now the offset in bytes from the start of the INF file.
2011-04-06docdump: make sure all counters are 0-basedGraeme Geldenhuys
It might look better for humans if counting is 1-based, but for reference with the INF file structure, lets keep all the docdump output 0-based.
2011-04-06docdump: processing of the INF dictionaryGraeme Geldenhuys
2011-04-06minor code improvements to docview's SearchTable unit.Graeme Geldenhuys
2011-04-06Docview: new debug item to dump the INF dictionary to file.Graeme Geldenhuys
2011-04-06minor code improvement for readability.Graeme Geldenhuys
2011-04-06Cleanup of the unit and code comments.Graeme Geldenhuys
2011-04-06Just to make sure us humans understand what must happen. ;-)Graeme Geldenhuys
2011-04-06More detailed info about FTS data in INF help files.Graeme Geldenhuys
2011-04-05Fixes a potential AV when ActiveWidget is freedGraeme Geldenhuys
If the ActiveWidget was freed, the parent never got notified. If focus was then changed, the parent tried to call ActiveWidget.HandleFocusKill, causing an access violation. The toolkit now correctly sets ActiveWidget to nil if it was freed, and as a extra failsafe, wraps the HandleFocusKill call in a try..except block.
2011-03-28PDF reports: grid improvement in managing borders andJean-Marc Levecque
colors.
2011-03-26fixed a typo in docview's help source.Graeme Geldenhuys
2011-03-26Minor code changes so docview is compilable with FPC 2.5.1Graeme Geldenhuys
Thanks to Michael van Canneyt for the patch.
2011-03-26Set the default value for IgnoreDblClick propertyGraeme Geldenhuys
2011-03-24Partial undo of commit 2ffdd747.Graeme Geldenhuys
The code change in the original commit worked fine for Windows, but caused other problems under Linux. So I have commented the original code change for Linux until I can find a more suitable solution.
2011-03-24docs: new additional help topic regarding embedded forms.Graeme Geldenhuys
2011-03-24Replaced direct API usage with an already implemented method.Graeme Geldenhuys
2011-03-24Replaced old reference to GFX to fpGUI.Graeme Geldenhuys
2011-03-24improved charset translation to UTF8Graeme Geldenhuys
2011-03-08Calendar Check Combo did not paint date text in correct position.Graeme Geldenhuys
Now it takes into account the height of the component and calculates the text position accordingly.
2011-03-08Combobox margin fixGraeme Geldenhuys
When painting the combobox did not take into account that the margin applies to both the left and right side of the combobox.
2011-03-08applied the missing setting for Lazarus IDE so package unit is not added to ↵Graeme Geldenhuys
a project uses clause.
2011-03-08Merge branch 'master' of ssh://fpgui.git.sourceforge.net/gitroot/fpgui/fpguiGraeme Geldenhuys
2011-03-08PDF report engine. Fixed a minor compilation errorGraeme Geldenhuys
2011-03-08docview: Removed left-over debug code. Sorry! :-(Graeme Geldenhuys
2011-03-08More PDF report engine improvements. Real valuesJean-Marc Levecque
Using the report engine to produce some charts, I realized that I missed an important point: positions and thickness in pdf files can use real values and not only integers. I made the change and modified the demo to show it in the frames and lines examples.
2011-02-23docview: add missing button hints on toolbar.Graeme Geldenhuys
2011-02-07docview: Removed left-over debug code. Sorry! :-(Graeme Geldenhuys
2011-02-07ComboBox: New Margin default 3 -> 1.Graeme Geldenhuys
The Margin is how many pixels from the internal background the text must appear. Later we will replace this with SideMargin and HeightMargin properties.
2011-02-07ComboBox: text position is now the same as TfpgEdit.Graeme Geldenhuys
We now use Canvas.DrawString() to auto calculate the text position based on the text flags passed in. This is now the same as TfpgEdit does.