MCPcopy Create free account
hub / github.com/dillo-browser/dillo / Widget

Method Widget

dw/widget.cc:78–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76int Widget::CLASS_ID = -1;
77
78Widget::Widget ()
79{
80 DBG_OBJ_CREATE ("dw::core::Widget");
81 registerName ("dw::core::Widget", &CLASS_ID);
82
83 DBG_OBJ_ASSOC_CHILD (&requisitionParams);
84 DBG_OBJ_ASSOC_CHILD (&extremesParams);
85
86 flags = (Flags)(NEEDS_RESIZE | EXTREMES_CHANGED);
87 parent = quasiParent = generator = container = NULL;
88 setWidgetReference (NULL);
89 DBG_OBJ_SET_PTR ("container", container);
90
91 layout = NULL;
92
93 allocation.x = -1;
94 allocation.y = -1;
95 allocation.width = 1;
96 allocation.ascent = 1;
97 allocation.descent = 0;
98
99 extraSpace.top = extraSpace.right = extraSpace.bottom = extraSpace.left = 0;
100
101 style = NULL;
102 bgColor = NULL;
103 buttonSensitive = true;
104 buttonSensitiveSet = false;
105
106 deleteCallbackData = NULL;
107 deleteCallbackFunc = NULL;
108
109 widgetImgRenderer = NULL;
110
111 stackingContextMgr = NULL;
112
113 ratio = 0.0;
114}
115
116Widget::~Widget ()
117{

Callers

nothing calls this directly

Calls 1

setWidgetReferenceFunction · 0.85

Tested by

no test coverage detected