Reimplemented from OglGui::WindowListener. Definition at line 49 of file ColorsNamed.h. References OglGui::OglWindow::GetBorderBackground(), OglGui::StaticText::GetText(), mListener, mListenerData, and OglGui::ColorsNamedListener::OnColorName(). 00051 { 00052 if (!mListener) 00053 return; 00054 if (msg == oglMouseDown || msg == oglMouseDblClick) 00055 { 00056 StaticText* txt = (StaticText*) src; 00057 StaticText* txt2 = (StaticText*) userData; 00058 ULONG col = src->GetBorderBackground(); 00059 std::string str = txt2 ? txt2->GetText() : txt->GetText(); 00060 00061 mListener->OnColorName(this, str, col, msg, mListenerData); 00062 } 00063 }
Here is the call graph for this function:
|