SMIL 1.1.1
Loading...
Searching...
No Matches
Smil Tips and Tricks

Generalities

To be done

Good Practices

Use C++ functors whenever necessary

To be done

Looping on images

To be done

Tips

Source file prototypes :

To help you start with your coding, inside directory dev-tools, you'll find two files : dev-tools/DProto.hpp and dev-tools/DProto.cpp.

As you can see at file DProto.hpp, the content inside headers file shall be protected by a couple "#ifdef _SOMETHING_H" and "#endif" directives, to avoid a code being included twice.

The way to build these variable is defined from the filename :

  • a "_" (underline) is used as a prefix;
  • "." (dot) are converted to "_";
  • words are separated by "_" even it they don't appear this way in the filename.

As an example, if the filename is DMorphoBestCode.h, the directive name becomes _D_MORPHO_BEST_CODE_H.