Re: Magnify anything on the screen?

2008-11-23 Thread Tim Andersson
magnifying the captured pixels is left to you. Some carefully chosen scale factor during drawing together with disabled anti-aliasing might work. Kai On 23.11.2008, at 17:03, Tim Andersson wrote: Hi guys. I'm currently working on my own custom color picker, and it's all going w

Magnify anything on the screen?

2008-11-23 Thread Tim Andersson
Hi guys. I'm currently working on my own custom color picker, and it's all going well. However, I need to replicate the magnifying function found in a NSColorPanel. I think I've figured out how to capture mouse- events anywhere on the screen, but I don't know how I would go about to "magni

Re: Take picture with iSight?

2008-11-18 Thread Tim Andersson
Guide/Introduction/chapter_1_section_1.html Thanks for your help guys :) Cheers, Tim 18 nov 2008 kl. 14.05 skrev M Pulis: You've looked at QTKit.h with its QTCapture classes? Gary On Nov 18, 2008, at 5:38 AM, Tim Andersson wrote: Sorry, forgot to say that I have looked at the IKPictureTake

Re: Take picture with iSight?

2008-11-18 Thread Tim Andersson
od in my code. Is this possible? I don't need to support pre-Leopard. Cheers, Tim 18 nov 2008 kl. 13.31 skrev Graham Cox: If you don't need to support pre-Leopard, check out IKPictureTaker cheers, Graham On 18 Nov 2008, at 11:25 pm, Tim Andersson wrote: Hi there. I'

Take picture with iSight?

2008-11-18 Thread Tim Andersson
could use, but they only show how to record movies with the camera. I understand that I have to use the QT-framework, but could somebody please give me some pointers in the right direction? Kind regards, Tim Andersson ___ Cocoa-dev mai

Re: CATextLayers text alignment? [SOLVED]

2008-10-11 Thread Tim Andersson
e the CATextLayers alignmentMode to kCAAlignmentCenter to get it centered on one of the axis (I never know which one is which), but is there any way that it can be centered on both axis? Yours sincerely, Tim Andersson Well, I had this same issue earlier this year, and did find a "hack"

CATextLayers text alignment?

2008-10-10 Thread Tim Andersson
to kCAAlignmentCenter to get it centered on one of the axis (I never know which one is which), but is there any way that it can be centered on both axis? Yours sincerely, Tim Andersson ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not

Re: "Drawing" CATextLayer into a CGImageRef?

2008-10-09 Thread Tim Andersson
Thank you so much for your help, John! Works like a charm! Kind regards, Tim Andersson 9 okt 2008 kl. 19.28 skrev John Harper: Hi, the best way to address this kind of thing is by drawing the shadow into the layer bitmap. You can do that by subclassing CATextLayer and adding a

"Drawing" CATextLayer into a CGImageRef?

2008-10-09 Thread Tim Andersson
share your thoughts. Kind regards, Tim Andersson ___ 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/Unsubscribe/U

Re: apple remote

2008-10-05 Thread Tim Andersson
Hi there. I use the following for Apple Remote functionality in my app: http://www.martinkahr.com/2007/07/26/remote-control-wrapper-20/ Hope it works for you. Cheers, Tim ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admi

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Tim Andersson
; >/* Now just switch on the filter for the window */ > >CGSAddWindowFilter(_myConnection, [window windowNumber], >__compositingFilter, __compositingType ); >} > >Insert standard disclaimer about using private Apple APIs here. > >-- >Rob Keniger Thanks for your help, bu

Re: Semi-transparent, blurred NSWindow background?

2008-08-25 Thread Tim Andersson
24 aug 2008 kl. 23.20 skrev Jonathan Dann: On 24 Aug 2008, at 17:45, Tim Andersson wrote: YMMV but I'd start with a window as shown in this sample code http://developer.apple.com/samplecode/RoundTransparentWindow/ index.html and then replace the view with a custom view, and apply

Semi-transparent, blurred NSWindow background?

2008-08-24 Thread Tim Andersson
Hi there, Is there any way of creating a NSWindow that has a semi-transparent, blurred background? With "blurred background" I mean that whatever you see through the window/background is distorted (blurred). Any help is appreciated, Tim

Semi-transparent, blurred NSWindow background?

2008-08-24 Thread Tim Andersson
Hi there, Is there any way of creating a NSWindow that has a semi-transparent, blurred background? With "blurred background" I mean that whatever you see through the window/background is distorted (blurred). Any help is appreciated, Tim

Re: Changing NSTextFieldCells' editing appearance?

2008-08-18 Thread Tim Andersson
cell.. Thanks for your help, Tim Andersson ___ 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/Unsubscribe/Update

Re: Changing NSTextFieldCells' editing appearance?

2008-08-18 Thread Tim Andersson
overwrite -editColumn:row:withEvent:select: (NSTableView) and debug, what is going on. Maybe you can set some attributes before the editing starts. Cheers, Amin Negm-Awad [EMAIL PROTECTED] I'll see what I can do. Thank you very much. :) Cheers, Tim Ande

Re: Changing NSTextFieldCells' editing appearance?

2008-08-18 Thread Tim Andersson
in my NSTableView, the background goes black and a white border is shown around it, as the following picture shows: http://img143.imageshack.us/img143/5513/bild2su2.png I hope that clarifies what I'm trying to do. :) Cheers, Tim Andersson ___ Coc

Changing NSTextFieldCells' editing appearance?

2008-08-15 Thread Tim Andersson
edit my cell is that the text is highlighted. I've tried setBordered:NO and setFocusRing:NSFocusRingTypeNone , but I still get a white border (And a black background) around it when I edit it. All help is appreciated, Tim Andersson ___ Cocoa-de