On Feb 10, 2012, at 4:15 AM, stevens wrote:
> When I compiled this code in Xcode 4.2.1(OS X Lion 10.7.3),it reported that
> IRenderingEngine.hpp: error: unknown type name 'virtual' .
What source file was it trying to compile at the time? (I.e. which file was
#including that header?)
—Jens
___
On Fri, Feb 10, 2012 at 4:44 PM, koko wrote:
> I have two monitors connected.
>
> When I call NSreadPixel with a point that is on the main screen, origin 0,0
> it returns the appropriate NSColor;
>
> When I call NSreadPixel with a point that is on the 2nd screen, origin
> -1280,0 it returns nil
I had read a book named "iPhone 3D programming" ,it used a c++ sample code
#include
#ifndef HelloArrow_IRenderingEngine_hpp
#define HelloArrow_IRenderingEngine_hpp
enum DeviceOrientation
{
DeviceOrientationUnknown,
DeviceOrientationPortrait,
DeviceOrientationPortraitUpsideDown,
Dev
On Feb 10, 2012, at 15:03 , Mike Abdullah wrote:
> My line of thinking:
>
> Each time one of your undo managers is about to close its top-level group,
> register that with the doc's main undo manager. Thus the doc's undo manager
> will see the change while locked, prompt the user to unlock, and
I had a similar problem with Mac apps until a few months ago. Sometimes gdb
would symbolicate, sometimes not. The problem was that, by default, gdb uses,
er, Spotlight to locate dSYM files. The fact that I always put them in the
same directory as the target app didn't seem to help. Surprise
I have two monitors connected.
When I call NSreadPixel with a point that is on the main screen, origin 0,0 it
returns the appropriate NSColor;
When I call NSreadPixel with a point that is on the 2nd screen, origin -1280,0
it returns nil as the NSColor;
So, how do I get the NSColor for a pixel
On 11/02/2012, at 7:46 AM, Chris Paveglio wrote:
> for (column = 0; column {
> //get pixel value from grey and put into 1bit
> [imgRep getPixel:&lePixel atX:row y:column];
> [newRep setPixel:&lePixel atX:row y:column];
> }
> //FYI this is not an all purpose solution, this will ONLY work with gre
On 7 Feb 2012, at 11:08, Georg Seifert wrote:
> Hi,
>
> I still have problems with my document saving behavior in Lion.
>
> If I open a file that my app can only read (CFBundleRoleType = Viewer) the
> state is set to locked. If I unlock it and do some changes, the autosave
> replaces the doc
On 7 Feb 2012, at 11:28, Georg Seifert wrote:
> Hi,
>
> I have several undomanagers in my app. (I know that is unusual. Think of it
> as if you had a page layout app and every page has its own undo.)
>
> This all works well except if the document is locked. Then the documents
> undomanager kn
On 10 Feb 2012, at 21:25, Gilles Celli wrote:
> Opening the ASCII file can take up to 15-20 sec ( > 150MB), so I made some
> changes as you suggested by moving the progressWindowController alloc/init
> before the allocation of asciiFileContents...
> And you're right I should have put addWindow
Opening the ASCII file can take up to 15-20 sec ( > 150MB), so I made some
changes as you suggested by moving the progressWindowController alloc/init
before the allocation of asciiFileContents...
And you're right I should have put addWindowController: in
makeWindowController
This makes the
Hm I think this will work for me. I mean, at this point it'll make me a bitmap
and I can save it and when I open it in Photoshop it looks correct!
-(NSData *)oneBitData:(NSImage *)inputNSImage
{
//output a 1 bit image of NSData format from an NSImage given in gray mode
//get an image rep from th
I have been able to change the library to output Greyscale images now. It
required less work than I had thought.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact the mod
Let's work on this today and see what we get. I've got meetings for the next 3
hours, but am free to try and help after that.
Feel free to email me in 3 hours.
Cool?
- Alex Zavatone
On Feb 10, 2012, at 11:15 AM, Chris Paveglio wrote:
> What I'm working with is a library that makes a QR code.
What I'm working with is a library that makes a QR code. It was built for iOS
but I need desktop OSX (which, on a side note, seems silly because when you
MAKE a qr code, you'd usually want to print it right? Otherwise phones would
just read them. Anyways...). It was easy enough to adjust the li
> I'm sure I'm doing something wrong here :-(
>
> Any clues ?
Yep, here we go:
On 10 Feb 2012, at 15:28, Gilles Celli wrote:
> In my NSDocument readFromURL:ofType:error: method it init's a progressLoading
> WindowController (which shows up the window with progress bar and Cancel
> button).
>
Mike,
I'm not sure what you mean to set the cancel flag on the main thread.
I have done this so far, but I'm still stuck:
In my NSDocument readFromURL:ofType:error: method it init's a progressLoading
WindowController (which shows up the window with progress bar and Cancel
button).
In my progres
Hi Luc, how are you?
When the user drags the divider and collapses it, the split view retains the
view's frames before the collapse and that's probably something that is giving
you some problems. In this sense, there are two different behaviors going on
when a collapse happen:
1) If the user d
Hi,
I'm really very close to having a working NSSplitView with animated "collapse"
& "uncollapse" of the subviews, but there still is a problem when one of the
subviews is first collapsed by dragging the divider over the subview's minimal
size as controlled by the delegate.
When I expand such
Hi all. I'm looking for leaks in my iPhone app and apparently finding
some. Unfortunately, Instruments will not show my app's symbols, making it
pretty worthless.
I've tried "Re-Symbolicate Document", but this does nothing. When I
navigate to the location of the app and dSYM files (which do exi
20 matches
Mail list logo