to expand it.
Log has showed, that I am getting - (void)panel:(id)sender
willExpand:(BOOL)expanding with expanding==YES and the second one
with expanding==NO. At the moment I have no clue what is going on.
Any thoughts about this behavior would be very appreciate.
Best Regards,
Rimas M
Hello Martin,
Thank you - that helped. And, as you have mentioned, additional checking is
required due to unnecessary update calls.
Regards,
p.s. I still don't like Xcode 4. I have overlooked NSFont's class
notifications because of removed TOC at documentation viewer.
Rimas M.
On Tue, Sep 6
is presented by both - image and title itself:
https://www.dropbox.com/s/9psws3vavxpkya4/Duplicated-menuitem-title.png
All I need is nice font preview (which should be done by using image) and
keep first letter of title shortcut.
Regards,
Rimas M.
___
Cocoa-dev
-menuitem-title.png
Regards,
Rimas M.
___
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 your
need to catch that moment to update my own fonts popup.
Any thoughts are very appreciate.
Best Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
OK. Answering by myself - to avoid title duplication it is possible by
setting small-invisible attributed title.
Rimas M.
On Tue, Sep 6, 2011 at 9:47 AM, Rimas M. apple.list...@gmail.com wrote:
Going to try masked image way right now. As for plain text title, I am
confused, because if I do
M.. Actually not. I am using setImage: of NSMenuItem to keep default
highlighted item selection drawing and large menu scrolling with
scroll-wheel.
Rimas M.
On Tue, Sep 6, 2011 at 4:40 PM, Glenn L. Austin gl...@austin-soft.comwrote:
Yes, you will need to set the item's title, unless
On Mon, Aug 29, 2011 at 7:13 PM, Jens Alfke j...@mooseyard.com wrote:
On Aug 28, 2011, at 11:25 PM, Rimas M. wrote:
Well.. that worked. Generally. But those images must have transparent
background. And as I have discovered, when dealing with text drawing, that
causes loose of sub-pixels
showing time on the first click?
Regards,
Rimas M.
On Thu, Aug 4, 2011 at 12:07 PM, Rimas M. apple.list...@gmail.com wrote:
Drawing item titles into image and caching them for later use works nice.
But I have noticed unacceptable side effect. Normally, when menu is
displayed you can press any
Regards,
Rimas M.
On Sun, Jun 27, 2010 at 11:47 PM, Ken Ferry kenfe...@gmail.com wrote:
I don't think this is likely to be the problem in this case. Text looks
good no matter where you draw it.
In this case, I think the problem is more likely either
(1) A lack of what Quartz calls font
On Fri, Aug 26, 2011 at 5:21 PM, Kyle Sluder kyle.slu...@gmail.com wrote:
On Aug 26, 2011, at 7:13 AM, Rimas M. apple.list...@gmail.com wrote:
If I am using Core Text (CTLineDraw(line, bitmapDrawContext);) to draw my
text into bitmap context, there is no way to get sub-pixels antialiasing
You are absolutely right, Martin. That was I have thought at the beginning.
But it didn't worked. Now I have checked more deeply and looks like I have a
bug in my responders chain which prevents me from getting changeAttributes:.
Best Regards,
Rimas M.
On Thu, Aug 25, 2011 at 1:04 AM, Martin
that changes for any of
my views. Not only textview.
Any thoughts?
Best Regards,
Rimas M.
___
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
Delegate methods could be used if there is an editable textview. But what if
not? For other things we have changeFont:, changeColor:,
changeAttributes:. Unfortunately, neither of them are called by action I
have mentioned.
Regards,
Rimas M.
On Wed, Aug 24, 2011 at 1:49 PM, Mike Abdullah cocoa
Drawing item titles into image and caching them for later use works nice.
But I have noticed unacceptable side effect. Normally, when menu is
displayed you can press any letter key, and menu will scroll to the first
item, which title starts with that letter. In my case , NSMenuItems does not
have
Hi Glenn,
Thank you for answering. Now I can understand why menu item title is black
in fonts popup of iWork apps. Even if they are selected.
Regards,
RImas M.
On Tue, Aug 2, 2011 at 6:13 PM, Glenn L. Austin gl...@austin-soft.comwrote:
Yes -- don't do that!!!
You are asking the system
- I have
missed something, or should I use some tricks to avoid that delay?
Any thoughts are very welcome.
Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list
As far as I remember, text container inset sets margins from both sides:
left and right and/or top and bottom. If text container position is
important according to the text view, this will not work.
2011/5/8 Kyle Sluder kyle.slu...@gmail.com
On May 8, 2011, at 3:27 AM, Дмитрий Николаев
the
trick. Going to try that.
Regards,
Rimas M.
On Tue, May 3, 2011 at 7:05 PM, Andrew Glushchenko nosetin...@gmail.com
wrote:
Hello, Rimas
You can change the inset of the NSTextContainer associated with the
NSTextView for this purpose. See setTextContainerInset method of
NSTextView.
2011/5/3 Rimas M
and offsets of them.. For
example NSFont's boundingRectForGlyph: returns rect, which looks like
gonna fit whole glyph, but currently I have no idea how to calculate
its position (x and y) in the line of TextView/LayoutManager.
Regards,
Rimas M.
On Wed, Apr 27, 2011 at 11:06 PM, Aki Inoue
from either NSLayoutManager or NSATSTypesetter. Just not sure which
exact... Any thoughts?
Best Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
my whole text.
Any help is very appreciate.
p.s. don't hesitate to ask for an additional information. I could even
make a small sample app if required.
Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin
. Unless I am missing something?
Regards,
Rimas M.
___
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
to the kCISamplerFilterLinear,
flickering is gone. But zoomed pixels becomes rotated.
Rotated pixels:
http://dl.dropbox.com/u/2030721/ForAppleList/Rotated%20Pixels.png
Expected result:
http://dl.dropbox.com/u/2030721/ForAppleList/Non-rotated_pixels_when_zooming_in.png
Best Regards,
Rimas M.
p.s. I could
by drawing it to the bitmap context
b) create new rotated CGImage from it
c) and then draw it for scaling.
But this way is quite slow. Is there a better one?
Any help is very appreciate.
Best Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev
My fault.
I was sure, that I have checked everything and nothing. I have made a
new empty Xcode project and that worked.
Finally I have found strange bug in my NSScrollView subclass. Fixed it
and looks like everything is OK now.
Thank you.
Best Regards,
Rimas M.
On Fri, Jul 23, 2010 at 4:39
of ghosts depends on alpha
value.
On 3 and 4, flushing context or telling it to clear visible rect makes no sense.
Best Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments
= ( fabs(C.x - D.x) = _epsilon ); ,
where _epsilon is something like 0.0001.
Regards,
Rimas M.
___
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
'==' and are TRUE only if
points/rects are *really* equal?
Best Regards,
Rimas M.
___
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
problems. For now I am
going to use:
#define cDefaultFloatComparisonEpsilon 0.0001
#define cEqualFloats(f1, f2, epsilon) ( fabs( (f1) - (f2) ) epsilon )
#define cNotEqualFloats(f1, f2, epsilon)( !cEqualFloats(f1, f2,
epsilon) )
Thank you for your help.
Regards,
Rimas M
my custom items. No spelling co above my
items. Always. Even with some text selected.
How could I achieve that?
Any help is very appreciate.
Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests
Hi Martin,
You are right - that works. I can swear that I have tried this before.
But looks like was overridden to much methods. Now I have started this
part from scratch and..tadaaa.
Thank you.
Regards,
Rimas M.
On Tue, Jun 8, 2010 at 12:17 AM, Martin Wierschin mar...@nisus.com wrote:
Hi
Hello,
Ok. It is possible to access iDisk itself - list content, create
folders, files etc. But I am wondering what to do, that MobileMe
gallery would show uploaded photos? How to create new album in this
gallery manually and upload photos to it?
Any help is appreciate.
Best Regards,
Rimas M
browser.
Regards,
Rimas M.
On 2009.06.18, at 18:03, Nick Zitzmann wrote:
On Jun 18, 2009, at 3:37 AM, Rimas M. wrote:
Ok. It is possible to access iDisk itself - list content, create
folders, files etc. But I am wondering what to do, that MobileMe
gallery would show uploaded photos? How
...
Regards,
Rimas M.
___
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 your Subscription:
http
would do that in right way.
Maybe I am wrong. For this reason I am writing here.
Regards,
Rimas M.
___
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
to do to ensure that
pressing p in US and RU keyboard layouts will do the same action
in my app.
Regards,
RImas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator comments to the list.
Contact
are talking about? Do you
mean [[theEvent charactersIgnoringModifiers] characterAtIndex:0]
(which returns unichar) or something different?
Regards,
Rimas M.
___
Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)
Please do not post admin requests or moderator
- how to check incoming key down events
to achieve that functionality. I am sure, that checking characters is
wrong way. Better would be to check keyCodes, but not perfect. Is
there a third way in Cocoa?
Help would be very appreciate.
Regards,
Rimas M
39 matches
Mail list logo