Remove a controller from the linked list.
- Parameters
-
| controller | The controller to remove from the list |
- Note
- Protected static method - subclasses can call this in their cleanup methods
Definition at line 97 of file cled_controller.cpp.hpp.
97 {
99 return;
100 }
101
102
105
106
107 while (curr != nullptr) {
109
110 if (prev == nullptr) {
111
113 } else {
114
116 }
117
118
120 break;
121 }
122 prev = curr;
124 }
125}
CLEDController * controller
CLEDController * mPNext
pointer to the next LED controller in the linked list
static CLEDController * mPHead
pointer to the first LED controller in the linked list
CLEDController(RegistrationMode mode) FL_NO_EXCEPT
Protected constructor with registration mode.
References CLEDController(), controller, fl::FL_NO_EXCEPT, mPHead, and mPNext.
Referenced by removeFromDrawList().