Button color
Anonymous
Not applicable
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2013-12-06
10:43 AM
- last edited on
2023-08-01
06:54 PM
by
Doreena Deng
2013-12-06
10:43 AM
Hi,
stuck with the API again
I'm trying to make a simple colored button. It can also be a static text on a colored background.
I tried:
DG::Button - no method SetBackgroundColor
DG::CenterText - also no method SetBackgroundColor
DG::UserItem with DG::CenterText - UserItem is always on top, so text is not visible, alpha channel in Gfx::Color is ignored...
Is there any simple trick to achieve that? I dont want to use images...
I would really appreciate some documentation for the C++ OOP section of DG, because there isnt any (neither in DevKit doc, nor in headers...)
stuck with the API again

I'm trying to make a simple colored button. It can also be a static text on a colored background.
I tried:
DG::Button - no method SetBackgroundColor
DG::CenterText - also no method SetBackgroundColor
DG::UserItem with DG::CenterText - UserItem is always on top, so text is not visible, alpha channel in Gfx::Color is ignored...
Is there any simple trick to achieve that? I dont want to use images...
I would really appreciate some documentation for the C++ OOP section of DG, because there isnt any (neither in DevKit doc, nor in headers...)

Labels:
- Labels:
-
Add-On (C++)
0 REPLIES 0