Lines Matching defs:style
124 Style* style = new Style();
125 style->SetStyle(STYLE_BACKGROUND_OPA, OPA_TRANSPARENT);
126 style->SetStyle(STYLE_BORDER_COLOR, Color::Red().full);
127 style->SetStyle(STYLE_BORDER_WIDTH, 1);
128 style->SetStyle(STYLE_BORDER_OPA, OPA_OPAQUE / 2); // 2: half opacity
131 baseGfxEngine->DrawRect(gfxDstBuffer, viewRect, invalidatedArea, *style, OPA_OPAQUE);
133 style->SetStyle(STYLE_BACKGROUND_OPA, OPA_OPAQUE);
134 style->SetStyle(STYLE_BACKGROUND_COLOR, Color::Blue().full);
135 style->SetStyle(STYLE_BORDER_WIDTH, 0);
142 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
145 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
152 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
155 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
162 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
165 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
171 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
174 baseGfxEngine->DrawRect(gfxDstBuffer, tmpRect, invalidatedArea, *style, OPA_OPAQUE);
175 delete style;
189 void UIView::SetStyle(Style& style)
195 style_ = &style;