[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-dev] xcode - organising custom primitives code




On Dec 29, 2008, at 10:25 AM, Fredrik Olofsson wrote:

no. rather the contrary. it'd be bad. for performance reasons i've moved over large parts of my pen drawing code to guiprimitives.m. one primitive for each part of the pieces sort of. even hardcoded colours.

so i guess i have the options of either live with the copy&paste or to checkout a separate folder with sc source, modify&build and then never update that one again (freeze it for that pieces).

Well - This is what I do for my standalone pieces. I make a standalone project, build it and leave it with its own source checkout. This way, if anything drastic changes, my pieces still work. I then bundle all the source in the app bundle to keep it handy.

Josh

_f

29 dec 2008 kl. 06.04 skrev Josh Parmenter:

Hmm... are these things that would be good to add into the dist?

Josh

On Dec 28, 2008, at 3:48 AM, Fredrik Olofsson wrote:

dear developers,
is there _any way to avoid to copy&paste my custom graphics routines into GUIPrimitives.M every time this file gets updated in the svn repository?

how can i minimise the hassle of adding primitives?

perhaps we could split the massive GUIPrimitives.M into a few separate ones? e.g. document, scwindow, pen.

(it's a pity there's no way to write sclang plugins)
_f


 #|
    fredrikolofsson.com     klippav.org     musicalfieldsforever.com
 |#


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/

******************************************
/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/


_______________________________________________
sc-dev mailing list

info (subscription, etc.): http://www.beast.bham.ac.uk/research/sc_mailing_lists.shtml
archive: https://listarc.bham.ac.uk/marchives/sc-dev/
search: https://listarc.bham.ac.uk/lists/sc-dev/search/