OpenClonk
C4GUI::InputCallback< T > Class Template Reference

#include <C4Gui.h>

Inheritance diagram for C4GUI::InputCallback< T >:
[legend]
Collaboration diagram for C4GUI::InputCallback< T >:
[legend]

Public Types

typedef void(T::* CBFunc) (const StdStrBuf &)
 

Public Member Functions

 InputCallback (T *pTarget, CBFunc pCBFunc)
 
void OnOK (const StdStrBuf &sText) override
 

Detailed Description

template<class T>
class C4GUI::InputCallback< T >

Definition at line 2389 of file C4Gui.h.

Member Typedef Documentation

◆ CBFunc

template<class T >
typedef void(T::* C4GUI::InputCallback< T >::CBFunc) (const StdStrBuf &)

Definition at line 2392 of file C4Gui.h.

Constructor & Destructor Documentation

◆ InputCallback()

template<class T >
C4GUI::InputCallback< T >::InputCallback ( T *  pTarget,
CBFunc  pCBFunc 
)
inline

Definition at line 2397 of file C4Gui.h.

2397 : pTarget(pTarget), pCBFunc(pCBFunc) {}

Member Function Documentation

◆ OnOK()

template<class T >
void C4GUI::InputCallback< T >::OnOK ( const StdStrBuf sText)
inlineoverridevirtual

Implements C4GUI::BaseInputCallback.

Definition at line 2399 of file C4Gui.h.

2399 { (pTarget->*pCBFunc)(sText); }

The documentation for this class was generated from the following file: