Home
last modified time | relevance | path

Searched refs:colorSquare (Results 1 – 1 of 1) sorted by relevance

/haiku/src/apps/stylededit/
H A DColorMenuItem.cpp32 BRect colorSquare(Frame()); in DrawContent() local
34 if (colorSquare.Width() > colorSquare.Height()) { in DrawContent()
36 colorSquare.left += 8; in DrawContent()
37 colorSquare.top += 2; in DrawContent()
38 colorSquare.bottom -= 2; in DrawContent()
40 colorSquare.right = colorSquare.left + colorSquare.Height(); in DrawContent()
43 menu->StrokeRect(colorSquare); in DrawContent()
45 colorSquare.InsetBy(1, 1); in DrawContent()
47 menu->FillRect(colorSquare); in DrawContent()
49 menu->MovePenBy(colorSquare.right + 5.0f, 4.0f); in DrawContent()