mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-07-11 22:03:01 -06:00
.cosmetics
git-svn-id: svn://ultimatepp.org/upp/trunk@12934 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
cd358093b0
commit
eee37cd44b
1 changed files with 2 additions and 1 deletions
|
|
@ -123,7 +123,7 @@ struct sChBorder {
|
|||
};
|
||||
|
||||
Value ChBorder(const ColorF *colors, const Value& face)
|
||||
{
|
||||
{ // adds border to face value
|
||||
sChBorder b;
|
||||
b.border = colors;
|
||||
b.face = face;
|
||||
|
|
@ -155,6 +155,7 @@ Value StdChLookFn(Draw& w, const Rect& r, const Value& v, int op)
|
|||
switch(op) {
|
||||
case LOOK_PAINT:
|
||||
ChPaint(w, r.Deflated(n), b.face);
|
||||
// fall through - need to paint border now
|
||||
case LOOK_PAINTEDGE:
|
||||
DrawBorder(w, r, b.border);
|
||||
return 0;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue