Hi Roelof;
The code I emailed you creates a custom view and displays the grid. (also
in the public repository as TwentyFortyEight).
I left it simple so folks wanting to experiment could enhance it.
The actual displaying takes place in the displayOn: method in the view
(TwentyFortyEightView).
You can change colors by sending a message to the graphics context used in
the display method.
For example:
gc paint: ColorValue green.
You can paint a rectangle
gc displayRectangle: aRect.
So ...
gc paint: ColorValue green.
gc displayRectangle: aRect.
gc paint: ColorValue black.
gc displayRectangularBorder: aRect.
Would give you a green rectangle with a black border.
Sending lineWidth: to gc (a GraphicsContext) lets you change the line or
border size.
Regards
Arden
-----Original Message-----
From:
[hidden email] [mailto:
[hidden email]] On Behalf
Of Roelof Wobben
Sent: Monday, April 21, 2014 5:27 AM
To:
[hidden email]
Subject: [vwnc] Tableinterface : where does the displaying take place
Hello,
I need a custom view which look almost similar to the TableInterface.
But I cannot find out where the actual displaying take place and where I can
change things like bordercolor, borderwidth or colors
Who can help me figure this out ?
Roelof
_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc_______________________________________________
vwnc mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/vwnc