On 30 Sep 2009, at 19:44, Curtis Olson wrote:
I just noticed you added an OSG dependency to strutils.cxx/hxx If
possible it would be nice to avoid adding graphics system
dependencies to these text manipulation libraries. SimGear and
SimGear code is used in a variety of places beyond
Hi Jim,
Thanks for the quick fix on the strutils. In this case, (haha, so to speak)
yes, I think if code is already referencing OpenGL, then it would be fair to
replace that with code that references OSG. And yes, if you can generate
png's instead of the 42x larger ppm format, that would be a
Hi Jim,
I just noticed you added an OSG dependency to strutils.cxx/hxx If possible
it would be nice to avoid adding graphics system dependencies to these text
manipulation libraries. SimGear and SimGear code is used in a variety of
places beyond FlightGear, even in embedded systems where
Ok, duh! I see that is a single character function, but there has to be a
string class function or it can't be too hard to whip up a little function
ourselves.
Thanks,
Curt.
On Wed, Sep 30, 2009 at 1:44 PM, Curtis Olson wrote:
Hi Jim,
I just noticed you added an OSG dependency to
On 30 Sep 2009, at 20:15, Simon Hollier wrote:
I don't think there's an STL function, but there is
boost::to_lower(str) or even something like:
for (unsigned i=0; i str.length(); ++i) {
str[i] = tolower(str[i]);
}
I already chatted to Tim about this, I'm going to switch to the boost
5 matches
Mail list logo