BarPane::BarPane() { NoWantFocus(); phelpctrl = NULL; hmargin = vmargin = 0; menu = false; }
SizeGrip::SizeGrip() { Transparent(); RightPos(0, 12).BottomPos(0, 12); NoWantFocus(); Width(14); }
StaticText::StaticText() { NoWantFocus(); IgnoreMouse(); Transparent(); SetAlign(ALIGN_LEFT); }
AppPreview::AppPreview() { SetFrame(ViewFrame()); AddFrame(sb); sb <<= THISBACK(Scroll); NoWantFocus(); }
ScrollBar::ScrollBar() { minthumb = 16; pagepos = pagesize = totalsize = 0; linesize = 1; autohide = false; autodisable = true; jump = false; track = true; horz = false; thumbsize = 8; thumbpos = 0; push = light = -1; Add(prev); Add(prev2); Add(next); Add(next2); NoWantFocus(); prev.ScrollStyle().NoWantFocus().Transparent(); prev.WhenPush = prev.WhenRepeat = callback(this, &ScrollBar::PrevLine); prev.WhenPush << Proxy(WhenLeftClick); prev2.ScrollStyle().NoWantFocus().Transparent(); prev2.WhenRepeat = prev.WhenRepeat; prev2.WhenPush = prev.WhenPush; next.ScrollStyle().NoWantFocus().Transparent(); next.WhenPush = next.WhenRepeat = callback(this, &ScrollBar::NextLine); next.WhenPush << Proxy(WhenLeftClick); next2.ScrollStyle().NoWantFocus().Transparent(); next2.WhenRepeat = next.WhenRepeat; next2.WhenPush = next.WhenPush; style = NULL; SetStyle(StyleDefault()); BackPaint(); }
PopUpInfo::PopUpInfo(): color(SColorInfo()) { Transparent(false); NoWantFocus(); IgnoreMouse(); SetAlign(ALIGN_CENTER); SetFrame(BlackFrame()); opened = false; }
ProgressIndicator::ProgressIndicator() { style = &StyleDefault(); Transparent(); NoWantFocus(); total = actual = 0; percent = false; color = Null; pxp = 0; }
SeparatorCtrl::SeparatorCtrl() { NoWantFocus(); Transparent(); Disable(); lmargin = rmargin = 2; size = 7; SetStyle(StyleDefault()); }
LoggerCtrl::LoggerCtrl() : maxlines(1000), ignore(false) { NoInitFocus(); NoWantFocus(); SetReadOnly(); Reserve(512); SetTimeCallback(-200, THISBACK(Flush)); }
HeaderCtrl::HeaderCtrl() { Reset(); NoWantFocus(); sb.AutoHide(); autohidesb = true; sb.WhenScroll = THISBACK(Scroll); WhenScroll = THISBACK(WScroll); sb.WhenVisibility = THISBACK(ScrollVisibility); BackPaintHint(); }
BarCtrl::BarCtrl() { align = BAR_TOP; Ctrl::Add(pane.SizePos()); lsepm = rsepm = 2; ssize = 8; sii = zii = 0; NoWantFocus(); pane.WhenLeftClick = Proxy(WhenLeftClick); wrap = 0; sepstyle = &SeparatorCtrl::StyleDefault(); }
void ToolButton::ResetKeepStyle() { repeat = false; accel = 0; checked = false; NoWantFocus(); minsize = Size(0, 0); maxiconsize = Size(INT_MAX, INT_MAX); Tip(""); Help(""); Topic(""); Description(""); }
RichTextView::RichTextView() { cx = 3968; sizetracking = false; sb.SetLine(100); sb.WhenScroll = THISBACK(Scroll); zoom = Null; background = SColorPaper; vcenter = false; margin = Rect(0, 0, 0, 0); highlight = -1; hldec = true; WhenLink = callback(LaunchWebBrowser); anchor = cursor = sell = selh = 0; SetFrame(ViewFrame()); AddFrame(sb); NoWantFocus(); lazy = true; shrink_oversized_objects = true; }
NAMESPACE_UPP #define LLOG(x) // DLOG(x) #define LTIMING(x) // RTIMING(x) MenuItemBase::MenuItemBase() { accel = 0; state = 0; isenabled = true; type = 0; font = StdFont(); leftgap = Zx(16); textgap = Zy(6); accesskey = 0; NoWantFocus(); style = &MenuBar::StyleDefault(); Transparent(); maxiconsize = Size(INT_MAX, INT_MAX); }
void MultiButtonFrame::FrameAdd(Ctrl& parent) { parent.Add(*this); NoWantFocus(); }
StaticRect::StaticRect() { bg = SColorFace(); NoWantFocus(); }
ParentCtrl::ParentCtrl() { NoWantFocus(); Transparent(); minsize = Null; }