OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
full:style_info
(Results
1 - 3
of
3
) sorted by null
/external/chromium_org/ui/views/controls/
styled_label.cc
29
const StyledLabel::RangeStyleInfo&
style_info
,
33
if (
style_info
.is_link) {
36
link->SetUnderline((
style_info
.font_style & gfx::Font::UNDERLINE) != 0);
47
result->SetEnabledColor(
style_info
.color);
49
if (!
style_info
.tooltip.empty())
50
result->SetTooltipText(
style_info
.tooltip);
51
if (
style_info
.font_style != gfx::Font::NORMAL)
52
result->SetFont(result->font().DeriveFont(0,
style_info
.font_style));
100
const RangeStyleInfo&
style_info
) {
105
style_ranges_.push(StyleRange(range,
style_info
));
221
const RangeStyleInfo&
style_info
= style_ranges.top().
style_info
;
local
[
all
...]
styled_label.h
63
// Marks the given range within |text_| with style defined by |
style_info
|.
65
void AddStyleRange(const gfx::Range& range, const RangeStyleInfo&
style_info
);
69
void SetDefaultStyle(const RangeStyleInfo&
style_info
);
95
const RangeStyleInfo&
style_info
)
97
style_info
(
style_info
) {
104
RangeStyleInfo
style_info
;
member in struct:views::StyledLabel::StyleRange
styled_label_unittest.cc
164
StyledLabel::RangeStyleInfo
style_info
;
local
165
style_info
.disable_line_wrapping = true;
168
style_info
);
local
188
StyledLabel::RangeStyleInfo
style_info
;
local
189
style_info
.font_style = gfx::Font::UNDERLINE;
192
style_info
);
local
210
StyledLabel::RangeStyleInfo
style_info
;
local
211
style_info
.font_style = gfx::Font::BOLD;
212
styled()->AddStyleRange(gfx::Range(0, bold_text.size()),
style_info
);
Completed in 55 milliseconds