LookAndFeel


#1

I am creating skin class just as OldSchoolLookAndFeel. I want to change the shape of TextEditor, but his shape is created in TextEditor::paint()… Jules, what do you think about moving drawing the shape of TextEditor to LookAndFeel class?


#2

Sure, that could easily be moved.


#3

Ок, I am waiting while you do it… I am right understand, you do it?


#4

Yes, I’ve done it, just need to do some checking-in…


#5

It would be good, if a class ResizableWindow and the classes, inherited from him, would have the default backgroundColour(don’t set in constructor), like TextButton:: buttonColourId

And TabbedComponent::addTab too

It would allow to change default colour in the LookAndFeel class


#6

Yes, good idea!


#7

Jules, can you change the default backgroundColour(don’t set in constructor) in class ResizableWindow and the classes, inherited from him?


#8

No, I don’t think it has a default colour at the moment.


#9

It is bad. I develop various skins, and the opportunities of a class LookAndFeel not suffice to me.
For example one skin with a white background and black text, and another with a black background and white text. It is possible to increase number of colours is like TextButton:: buttonColourId, in such classes as ResizableWindow, TabbedComponent


#10

Well if you’ve got any specific colour requests, let me know and it’s quite easy to add them.


#11

ResizableWindow::backgroundColourId
ResizableWindow::textColourId

TabbedComponent::backgroundColourId
TabbedComponent::textColourId
TabbedComponent::highlightColourId
TabbedComponent::highlightedTextColourId


#12

Please add the following colour IDs:

ResizableWindow::backgroundColourId
ResizableWindow::textColourId

TabbedComponent::backgroundColourId
TabbedComponent::textColourId
TabbedComponent::highlightColourId
TabbedComponent::highlightedTextColourId


#13

crumbs, i wonder how many more times you can duplicate that before someone says somethi- oh… darn.