On 04/09/2013 at 03:37, xxxxxxxx wrote:
Cinema 4D Version: R15
Platform: Windows ; Mac ;
for the R15 version of our plugin we have created icons with higher resolution to support retina displays (exactly the same sizes as in the new CINEMA 4D R15 icons). Now we have the problem that bitmapbuttons appear too big since they use the sizes of the new icons.
Currently we're using a R14 build of the plugin, where the icons get registeres like this:
RegisterIcon(ICON_ID, g_icons, 0, 0, 32, 32, (1<<2));
(1<<2) is the value of ICONFLAG_2X, which doesn't seem to have any effect.
These ids are then used as the values for BITMAPBUTTON_ICONID1/2.
Is this solvable without recompiling for r15? How do we get the correct scale of the buttons?
Thanks in advance!