| 76 | int Widget::CLASS_ID = -1; |
| 77 | |
| 78 | Widget::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 | |
| 116 | Widget::~Widget () |
| 117 | { |
nothing calls this directly
no test coverage detected