Robin Schmidt
Robin Schmidt
seems to be specific to prettyscope/opengl stuff. it's in OpenGLBrush.h. when i comment out the line: `#define APIENTRY __stdcall` i hit an error here: `#error windows.h was included! ` i...
yeah...there are a lot of good points in these articles. i think, the constant macros can easily be replaced by actual constant numbers. i'm not so sure about abolishing new/delete,...
also, raw pointers are sometimes more flexible because you can explicitly control the lifetime of objects, for example the deletion order
> I don't even see the need for pointers wut? i use them all over the place. for example a slider keeps a pointer to its underlying parameter, a MetaControlledParameter...
using std::vector instead of c-style arrays is a very good idea because you can view the content of the array in the debugger. also: avoid using juce::Array for the same...
hmmm...yeah - i actually also would prefer to use direct member variables instead of pointers that are assigned via "new" in the constructor (and use the dot "." instead of...
hmm...ok - but what is the use case? i mean in which circumstance do you need to call that constructor without having a valid AudioModule object around which you can...
...hmm...ok...i explicitly consider that case in the comment for the 2nd constructor. .... but it's sooo long ago. why do we need empty editors? :-O
> createWidgets is called twice yeah - actually the constructor of the editor is called twice somewhere in the juce code. ...happens generally with all plugins - i need to...
just wondering: why are you creating audio-modules in the editor at all?