Sorry for being unclear - I was trying to get the point across without giving a comp-sci lecture What you say is absolutely correct.
Just out of curiousity, does anyone know w…
I think you have to be in supervisor mode and of course use assembly code to do the switch. Then I suppose you'd have to switch back if you want to use any system calls. Sounds lik…
Why don't you just write some simple byte swapping functions? I don't think it is possible for Apple hardware to run in little endian mode (although I may be wrong) because various…
Is there any reason this wouldn't work?
</font><blockquote><font size="1" face="Geneva, Verdana, Arial, sans-serif">code:</font><hr /><pre style="…
A link error means that there is a line of code that is making reference to a symbol (it can be a variable, or function, etc), that has not been defined. In this case, it looks li…
Yeah, I got it... actually got it figured out... they were being cut off by the preprocessor... figures I got the stuff off of sourceforge... after every revision, it's like... IT'…
Sorry, other than a cryptically named constant, all my best grepping and handreading through those frameworks and others hasn't turned up an obvious API for monitor brightness.
An…
Quote:
Originally posted by PipelineStall:
One way you may try and figure it out is if you have a PowerBook; when you press the brightness keys, loginwindow changes the …
Woah, blast from the past.
Incidentally, I ended up just setting the monitor gamma to zero, which turns the screen black, without actually changing the monitor brightness.
This t…
Well I really want to adjust brightness using software, as I try to write an application that sets the brightness when the battery status change.
Yes it is a recovered topic, I di…
1) - is for instance methods, + for class methods (called "static" in C++ and Java)
2) I had problems making colors, too. colorWithDeviceRed ended up working, though.
3) Don't…
2) I can't seem to create RGB colors with NSColor. Do I use colorWithDeviceRed? or colorWithCalibratedRed?
"Device" colors are are colors which will always use those values, on an…
Quote:
Originally posted by ali:
"Device" colors are are colors which will always use those values, on any device. "Calibrated" colors might attempt color matching. Typi…
mrtaber, how do you came to FORTH? Could you tell about your experience with FORTH? I'm interested because most people never heard about FORTH -- to bad.
Quote:
Originally posted by danengel:
<STRONG>I've been writing a FORTH-compiler called D. FORTH is a stack-based, interactively compiling language.
I'd be glad i…
Igerbarg,
The header would look like this (freehand composition, not tested):
<BLOCKQUOTE><font size="1"face="Geneva, Verdana, Arial">code:</font><HR><p…
Quote:
Originally posted by danengel:
<STRONG>Igerbarg,
The header would look like this (freehand composition, not tested):
&lt;BLOCKQUOTE&gt;&lt;font…