Re: Smooth resizing of a text field

2011-08-05 Thread Duncan Champney
On 20 Jul 2011, at 2:30 PM, Gabriel Roth wrote: > Subject: Smooth resizing of a text field > Date: July 20, 2011 3:30:56 PM EDT > To: Cocoa-dev@lists.apple.com > > > My application displays a non-editable text string in an NSTextField. When > the user adjusts a slider, the entire window and all

Subject: Re: Smooth resizing of a text field

2011-07-21 Thread Duncan Champney
27;ve actually used CATransaction exactly as shown above. I pulled this from the documentation, and haven't tested it. You could also set up an animator proxy to do this, or create a CABasicAnimation on the layer. Regards, Duncan Champney WareTo ___

10.6 specific crash

2009-10-01 Thread Duncan Champney
SGraphicsContext graphicsContextWithBitmapImageRep: tempDisplayImageRecord.theImageRep]; if (!tempDisplayImageRecord.theContext) return -1; //>>>>>>ERROR! <<<<<< Report to user Does anybody out there have any idea what's going on, and why we are seeing different beha

Building 64 bit apps in XCode?

2009-08-20 Thread Duncan Champney
n me and walk me through this? Thanks in advance, Duncan Champney WareTo LLC. ___ 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)list

Special handling of keystrokes in a window controller

2008-04-23 Thread Duncan Champney
My app has a number of input fields that are used to change light settings, camera x/y/z position, etc for a 3D view window. ALL these fields are numeric, and don't need to handle non number characters (they need to handle 0-9, "+", "-", ".", and possibly "E" for scientific notation, althou

Using scrolling lists of controls and handling window resize.

2008-04-21 Thread Duncan Champney
My app has a 3D view window that displays a large OpenGL view over most of it's surface, along with a group of controls that run down the left side of the window. The user can resize the window quite small, which makes some of the controls disappear off the bottom of the window. My solution

How to interrupt a long loop with command-period?

2008-03-29 Thread Duncan Champney
My app can create 3D views of the fractal images it creates. It has an option to save very large versions of these 3D views to disk as JPEGs or TIFFs. I generate the images as tiles, then assemble them and save the result to disk. For very large images this can take tens of seconds. I hav

How to get current renderer for an NSOpenGLView?

2008-03-26 Thread Duncan Champney
I need to find out the amount of total VRAM and available VRAM in the current renderer before creating a large renderbuffer object, to make sure I don't choke the system in doing it. I know how to find the current renderer for a given display, but I want the current renderer for my NSOpenGL