Forum > Other
fpgui support full theming ?!!
Graeme:
--- Quote from: ROCABDEL on December 17, 2013, 08:53:13 pm ---In Attachments four others styles for fpgui :
- Plastic Dark
- Plastic Dark Gray
- Plastic Medium Gray
- Plastic Light Gray
--- End quote ---
Can you explain what you tried to achieve by overriding DrawString() in your themes? Your current implementation affects the display of PDF Previewed reports. ie: Say my report has a red title, with the above themes all text are always painted in a light gray. Also your theme overrides the TfpgHyperLink Text and HotText color.
For the latter (hyperlink widget) I introduced a new clHyperLink named color in fpGUI - so that makes it easier to override in themes.
Though I still don't think forcing text color changes in themes (the way you implemented it) is the right way to go. Some users might use colored text in there UI for a specific reason. Your current implementations disallows that.
If the reason for overriding DrawString() was due to some limitation in fpGUI Styles, please let me know so we could try and resolve it accordingly.
ROCABDEL:
Hi Graeme.
firstly sorry for the delay, I was not available these days. :-[
--- Quote from: Graeme Geldenhuys on January 25, 2014, 04:50:45 pm ---Can you explain what you tried to achieve by overriding DrawString() in your themes?
...
If the reason for overriding DrawString() was due to some limitation in fpGUI Styles, please let me know so we could try and resolve it accordingly.
--- End quote ---
because I can not change the color of text in TfpgPopupCalendar the text are always painted in black.
--- Quote from: Graeme Geldenhuys on January 25, 2014, 04:50:45 pm ---I introduced a new clHyperLink named color in fpGUI - so that makes it easier to override in themes.
--- End quote ---
great initiative, I am very impressed for progress "i follow closer the progress in fpgui2 ;)"...
I just sent you a patch to correct the text color and add a custom checkbox for both carbon and plasic themes on your gmail.
Many thanks friends!!
Here's what it looks like
engkin:
GDI leak in TfpgGDIImage (\fpgui-1.0\src\corelib\gdi\fpg_gdi.pas). It does not call DoFreeImage nor does its ancestor class TfpgImageBase in its TfpgImageBase.FreeImage (the call to DoFreeImage is commented out for some reason).
Pong:
Hi guys ~
Can I use fpgui for interface development? for example: like lazarus ide application
Navigation
[0] Message Index
[*] Previous page