Project

General

Profile

Warning

Added by Piboule Alexandre almost 9 years ago

Hello,

If you do a Computree core code update AND if you have created new items classes in your plugin, it could not compile anymore.

To solve it, go in the .h of each item class, and replace the following line :

CT_TYPE_IMPL_MACRO(CT_ItemClassName, CT_ParentClassName)

by :

CT_TYPE_IMPL_MACRO(CT_ItemClassName, CT_ParentClassName, Item name)

Item name can be any string (don't put quotes around it, it is a compiler macro), which you want to be displayed for describing this class in the GUI.

This change allow Computree to show an intelligible name for item classes instead of class names from the code.
If you use templated item classes, you can ask me for help or check how it is done in CT_Image2D class.

Best regards.
Alexandre Piboule.


Comments

Added by Black Rose about 1 month ago

Updating the CT_TYPE_IMPL_MACRO macro to add a display name to the item class is a useful enhancement that Pokémon Gamma Emerald increases the intuitiveness of Computree’s GUI and improves the user experience when working with custom plugins.

Added by Alva Emma 9 days ago

You can play tiny fishing for hours without stopping, no matter how good you are at fishing or how new you are to adventure games.