summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-05-05Minor optimization in property settings order for CreateLabel()Graeme Geldenhuys
2010-04-30Make doubly sure the TagPointer is nil.Graeme Geldenhuys
2010-04-30Updated Canvas Test demo screenshots to show results.Graeme Geldenhuys
* Linux and Windows screenshots should be the same (to the pixel) except for Fonts.
2010-04-30Updated Canvas Test demo to show that TfpgImage.ImageFromRect() does work.Graeme Geldenhuys
2010-04-30Fixed bug in TfpgImage.ImageFromRect() where UpdateImage was called to early.Graeme Geldenhuys
This resulted in a black (empty) image.
2010-04-30Extended Canvas Test demo to show that 1x1 rectangles now work.Graeme Geldenhuys
Also shows that ?x1 (horizontal line) or 1x? (vertical line) rectangles work.
2010-04-30X11: Fixed bug where 1x1 rectangle is not drawn.Graeme Geldenhuys
2010-04-30Canvas Test demo: now the form is managed by the UI Designer.Graeme Geldenhuys
Also refactored the code to fit the normal GUI design standards. eg: using Create() and Destroy() etc..
2010-04-30Fixed resource allocation of ColorWheel.Graeme Geldenhuys
We called the image.UpdateImage to early. We are only supposed to do it after we populated the imagedata arrow with color values.
2010-04-30Fixed imgtest demo not working under Windows.Graeme Geldenhuys
* We called the image.UpdateImage to early. We are only supposed to do it after we populated the imagedata arrow with color values. * Also reduced the resource usage, by only creating the internal image once.
2010-04-30BaseGrid: OnRowChange and OnFocusChange does not occur.Clemens Capitain
When a grid has zero rows and you add a row, neither OnRowChange nor OnFocusChange get fired. This patch fixes this.
2010-04-29unit description update.Graeme Geldenhuys
2010-04-29Added hint directives for non-portable properties.Graeme Geldenhuys
This is simply to notify the developers when they are using a platform specific feature. Obviously this is ok and can safely be ignored if they are only developing for one platform.
2010-04-29Replaced all TRGBTriple usage in non-fpGUI library code.Graeme Geldenhuys
Replaced TRGBTriple with TFPColor.
2010-04-29Fixed code to remove compiler warnings/hints.Graeme Geldenhuys
2010-04-29TRGBTriple conflicts with a declaration in the Windows unit.Graeme Geldenhuys
* I introduced a new record type TFPColor (same as the declaration in the FPImage unit. I also introduced new conversion functions that work with TFPColor. * I marked the TRGBTriple type as deprecated. * I replaced all TRGBTriple usage with TFPColor.
2010-04-29New "Select Color" dialog added to fpGUI.Graeme Geldenhuys
Not 100% complete yet, but the first tab is working.
2010-04-28Remove todo items already completed.Graeme Geldenhuys
2010-04-28TfpgBaseGrid now has a new option and property: alternative colorGraeme Geldenhuys
The AlternativeBGColor property only takes affect when the go_AlternativeColor grid option is enabled. go_AlternativeColor also takes preference over ColumnBackgroundColor[]
2010-04-28TfpgBaseGrid now updated by using new predefined grid colors.Graeme Geldenhuys
2010-04-28Listbox now updated with 4 new predefined colors.Graeme Geldenhuys
2010-04-284 new predefined colors for grid usage.Graeme Geldenhuys
2010-04-26Add PopupMenu property to StringGrid.Graeme Geldenhuys
At the moment the popup menu only appears if user clicks outside the Header row. Maybe this behaviour will become user selectable in the future.
2010-04-25minor change to TfpgWidget.Graeme Geldenhuys
2010-04-25Refactored out all common code in the various composite editbutton type ↵Graeme Geldenhuys
components. We now introduced a new TfpgBaseEditButton class which contains all the common code. This greatly reduced code duplication and the amount of code needed in the FilenameEdit, DirectoryEdit and FontEdit components.
2010-04-25Publish the new OnShowHint for all other widgets in fpGUI.Graeme Geldenhuys
2010-04-25Hook the hint timer into the new OnShowHint event of TfpgWidget.Graeme Geldenhuys
2010-04-25Introduced new event for TfpgWidget called OnShowHint.Graeme Geldenhuys
This event will get fired just before a hint is displayed. You can use this this event to adjust the Hint text to make it more dynamic.
2010-04-22TfpgINIFile: Replaced standard RTL function with fpGUI wrapper version.Graeme Geldenhuys
2010-04-22New Unicode wrapper function added: fpgExtractFileExt()Graeme Geldenhuys
2010-04-21Fixed scroll buttons in PageControl when tabs are left|right positioned.Graeme Geldenhuys
2010-04-21Grids: Raised the visibility of the Font property.Graeme Geldenhuys
Now we can access the internal Font instance when we do things like custom Cell drawing etc.
2010-04-21fpg_editbtn.pas: Added ReadOnly properties to all three components.Graeme Geldenhuys
2010-04-21Edit: fixed vertical centering of text.Graeme Geldenhuys
Before we had a hard-coded top co-ordinate for the text. This caused problems when the TfpgEdit.Height was adjusted for some reason. So now we rather use the Canvas.DrawText() and give it a rectangle and text flags so text output can be calculated correctly. This is very useful for inline editing in a StringGrid. Internally Canvas.DrawText calls fpgStyle.DrawString, so custom styling should still be applied.
2010-04-21new overloaded version of PrintCoord() helper procedure.Graeme Geldenhuys
2010-04-21Grid.OnDrawCell: The drawstate set was not correctly reset after each loop.Graeme Geldenhuys
This caused the OnDrawCell AFlags variable to always contain gdSelected and gdFocused - which made OnDrawCell event handlers rather useless. This is now fixed!
2010-04-20PageControl: has a new property Options.Graeme Geldenhuys
Two new Tab Options are available, but only one is implemented so far. to_PMenuClose : Show the 'Close Tab' in popup menu to_PMenuShowAvailTabs : When implemented will list available tabs and change active tab to the selected one. By default the Options property is empty.
2010-04-20UI Designer: Panel/Bevel has new property ParentBackgroundColor registered.Graeme Geldenhuys
2010-04-20Panel/Bevel: new property ParentBackgroundColorGraeme Geldenhuys
This controls the behaviour of the BackgroundColor property.
2010-04-20Alternative Translation Strings (ats) editor.Graeme Geldenhuys
An example application created by Nagy Viktor back in 2006. I added it to the "user contributed" area of the repository so the code doesn't get lost.
2010-04-19Default modal forms close action to caHide like is done with standard Show.Graeme Geldenhuys
2010-04-19tiopf: Incorrect cast used in mediators.Graeme Geldenhuys
Damn this was hard to find!!! Copy and Paste is very evil!
2010-04-19PageControl: New popup menu to close active tabGraeme Geldenhuys
This needs to be extended in the near future. - enable/disable this function - close active tab or tab that was clicked on - list open tabs in popup menu, so user can change to them.
2010-04-19PageControl: New OnClosingTabSheet event added.Graeme Geldenhuys
2010-04-18editbtn.pas: Fixed the positioning issue at runtime. Button was clipped.Graeme Geldenhuys
We now resize children components inside the more logical HandleResize method instead of the SetPosition method.
2010-04-18editbtn.pas: Changed class parent for Filename/Directory Edit to ↵Graeme Geldenhuys
TfpgAbstractPanel This hides properties we don't need or want. eg: Text etc.
2010-04-16edtbtn + UI Designer: Tweaked the designer look a bit more.Graeme Geldenhuys
I found that I often set preset values [Filename, Directory] and would actually like to see those values in the designer form. Now I hide the Classname and output the property content in a differnt color - this is still distinguishable from a standard Edit + Button. I use different colors for the text (not sure what else will look better)
2010-04-16TfpgFontEdit: apply a default font to the edit component text.Graeme Geldenhuys
2010-04-16UI Designer: Registered the new TfpgFontEdit in component palette.Graeme Geldenhuys
2010-04-16Edit Button components: Improved the look in the UI Designer.Graeme Geldenhuys