[txmt-dev] Re: File Browser Colors?

2013-02-01 Thread LTN
Wow, I see. That's beyond my ability :-)

2013/2/1 Allan Odgaard :
> On Feb 1, 2013, at 7:26 PM, LTN  wrote:
>
>> But I think NSOutlineView inherits from NSTableView, which has
>> �CsetBackgroundColor method?
>
> Yes, this can be used to set the background color.
>
> But for it to look good, you also need to change text and selection color 
> (and text on selection). This is more involved as it not only require a 
> subclass, it also require tweaking the cells used to draw the rows. In 
> addition there are the group cells used for something like Go → SCM Status, 
> and you probably also want to set the scrollbars to be “light on dark” if you 
> change the background to something dark…
>
> ___
> textmate-dev mailing list
> textmate-dev@lists.macromates.com
> http://lists.macromates.com/listinfo/textmate-dev
___
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

[txmt-dev] Re: File Browser Colors?

2013-02-01 Thread Allan Odgaard
On Feb 1, 2013, at 7:26 PM, LTN  wrote:

> But I think NSOutlineView inherits from NSTableView, which has
> –setBackgroundColor method?

Yes, this can be used to set the background color.

But for it to look good, you also need to change text and selection color (and 
text on selection). This is more involved as it not only require a subclass, it 
also require tweaking the cells used to draw the rows. In addition there are 
the group cells used for something like Go → SCM Status, and you probably also 
want to set the scrollbars to be “light on dark” if you change the background 
to something dark…

___
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev

[txmt-dev] Re: File Browser Colors?

2013-02-01 Thread LTN
But I think NSOutlineView inherits from NSTableView, which has
–setBackgroundColor method?

2013/2/1 bobrocke :
> Thanks, but you're right, I don't think I can dive in that deeply. I was
> hoping for something like a constant to be tweaked or a setting changed,
> even if that would end up as a hard-coded color. Perhaps I would be able to
> make a local change. Sounds like not.
>
> Bob
>
>
>
> --
> View this message in context: 
> http://textmate.1073791.n5.nabble.com/File-Browser-Colors-tp26149p26155.html
> Sent from the textmate-dev mailing list archive at Nabble.com.
> ___
> textmate-dev mailing list
> textmate-dev@lists.macromates.com
> http://lists.macromates.com/listinfo/textmate-dev
___
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev


[txmt-dev] Re: File Browser Colors?

2013-02-01 Thread bobrocke
Thanks, but you're right, I don't think I can dive in that deeply. I was
hoping for something like a constant to be tweaked or a setting changed,
even if that would end up as a hard-coded color. Perhaps I would be able to
make a local change. Sounds like not.

Bob



--
View this message in context: 
http://textmate.1073791.n5.nabble.com/File-Browser-Colors-tp26149p26155.html
Sent from the textmate-dev mailing list archive at Nabble.com.
___
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev


[txmt-dev] Re: File Browser Colors?

2013-02-01 Thread Allan Odgaard
On Feb 1, 2013, at 6:24 PM, bobrocke  wrote:

> Where are the colors for the File Browser background and text defined? 

The file browser is a standard system control. You can only change the look of 
those by subclassing and overloading various methods. I’m guessing despite 
writing the dev-mailing list, you’re not asking about how you would go about 
doing that.


___
textmate-dev mailing list
textmate-dev@lists.macromates.com
http://lists.macromates.com/listinfo/textmate-dev