version of OSX, 10.5.8. Any tips would
be appreciated.
Thanks,
Shayne Wissler
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at
Thanks for the tips, I will review my code according to your
suggestions. I did try the OpenGL profiler--that causes a kernel panic
almost instantly.
Shayne Wissler
On Tue, Feb 9, 2010 at 3:21 PM, Jean-Daniel Dupas
wrote:
>
> Le 9 févr. 2010 à 22:38, Shayne Wissler a écrit :
>
&g
when OSX comes crashing down.
Any tips?
Shayne Wissler
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/U
Evidently I wasn't clear. It's using ~15% of the CPU while not drawing
anything at all, but just from the timer going off and calling
setNeedsDisplay. I don't actually redisplay unless something changed.
Thanks for the tip on CVDisplayLink, I missed that.
Shayne Wissler
On Sat,
quot;[self setNeedsDisplay:YES]".
Is all this normal/expected?
Shayne Wissler
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.
alues: &swapInterval forParameter: NSOpenGLCPSwapInterval];
CGLContextObj cglContext = (CGLContextObj)[[self openGLContext]
CGLContextObj];
GLint newSwapInterval = 1;
CGLSetParameter(cglContext, kCGLCPSwapInterval, &newSwapInterval);
with no beneficial effect. Any help would be apprecia
there are also not part of the Cocoa
> key bindings system, but you do have some more control over them. If you
> override -[NSApplication sendEvent:] you can see those key events and even
> prevent their normal processing.
So there are really 3 key bindings systems to be aware of then.
On Thu, Mar 5, 2009 at 12:17 PM, Ken Thomases wrote:
> On Mar 5, 2009, at 11:59 AM, Shayne Wissler wrote:
>
> I have an application in which the user's normal OSX key bindings are
>> meaningless, and while they are in that application I would like to detect
>> any keyb
e either
a way to disable the key bindings in a Cocoa app, or is there perhaps a
different method for receiving the raw, literal keycodes? Or is what I'm
after impossible unless you modify the user's key bindings?
Thanks,
Shayne Wissler
___
Co
table somewhere, preferably in an OSX header file?
Thanks,
Shayne Wissler
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.appl
Hello,
Is there a way in cocoa to get the raw key press/release events? Let's
say you were making a game that wanted to know when the control or
caps lock key was down or up, how would you do that in Cocoa?
Thanks,
Shayne Wissler
___
Coco
Is there any way to re-enable the display sleep timer? Or do I need to
implement my own display sleep timer if I use that API?
Thanks for your help.
Shayne Wissler
On Wed, Dec 31, 2008 at 4:34 PM, Sean McBride wrote:
> Shayne Wissler (wiss...@gmail.com) on 2008-12-31 3:11 PM said:
>
&g
o not want my application to
interfere with the user's default sleep settings (unless my
application explicitly needs to when it's in a given mode--but that
doesn't depend on whether it's in fullscreen or normal mode).
Thank you
On Thu, Dec 11, 2008 at 12:03 PM, Sherm Pendley wrote:
> On Dec 11, 2008, at 1:42 PM, Shayne Wissler wrote:
>
>> Just like an X application would work on Linux. I
>> don't want for it to be required to have a .app directory with plists
>> or nibs or anything other th
On Thu, Dec 11, 2008 at 11:55 AM, Eric Schlegel wrote:
>> Can you perhaps suggest a book from which I would have learned this
>> and other architectural nuances of systems programming on the Mac?
>
> I can't, partly because I haven't done an exhaustive survey of all
> programming books on Mac OS
Hi Bill,
I've got an application that isn't specifically for the Mac, and I
want the same standard user-experience whether they are on the Mac or
on Windows or on Linux. I want them to be able to run this program
from the command line by directly using the binary (without calling
"open"), to have
On Thu, Dec 11, 2008 at 11:18 AM, Eric Schlegel wrote:
> Jumping in late here...
>
> It sounds like what you want to create is just a flat-file binary that does
> not use the bundle hierarchy that is typical for a Mac OS X app. I.e., you
> want your app to just be a single file "MyApp" rather than
ns,
thanks again.
Shayne Wissler
On Wed, Dec 10, 2008 at 2:47 PM, Shayne Wissler <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have a Cocoa application that I am compiling in the traditional UNIX
> manner using Makefiles and I want to be able to invoke it with
> command-line
to do what I'm wanting, and if so, why does it
half-work rather than fail with a decent error message?
Shayne Wissler
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the li
w] isKeyWindow] on a mouseDown event and it is indeed true,
making this seem even more bizarre to me.
Note: I am not using nib files so "awakeFromNib" does not get called
in my application.
Any helpful comments would be appreciated!
Shayne Wissler
__
Hello,
I'm resending this because it didn't seem to get through to the list:
On Fri, Dec 5, 2008 at 8:47 AM, Shayne Wissler <[EMAIL PROTECTED]> wrote:
> I'm writing something like a game engine using NSOpenGLView and am
> getting some odd behaviors (I am new to Coc
eyWindow] on a mouseDown event and it is indeed true,
making this seem even more bizarre to me.
Note: I am not using nib files so "awakeFromNib" does not get called
in my application.
Any helpful comments would be appreciated!
Shayne Wissler
__
22 matches
Mail list logo