Specialized testing class so unit test can call protected member functions to simulate drop operation. More...
Public Member Functions | |
test_drop_target (gui::drop_group_manager_ptr group, const SDL_Rect &loc) | |
int | handle_drop () |
Public Member Functions inherited from gui::drop_target | |
drop_target (const drop_group_manager_ptr group, const SDL_Rect &loc) | |
Registers drop target and saves reference to location. More... | |
~drop_target () | |
int | get_id () const |
bool | is_this_id (const int id) const |
Checks if id matches id for this object. More... | |
Static Public Member Functions | |
static bool | empty () |
Additional Inherited Members | |
Protected Member Functions inherited from gui::drop_target | |
int | handle_drop () |
Called by widget object when droping happens. More... | |
Static Protected Member Functions inherited from gui::drop_target | |
static bool | empty () |
Used to check if static storages are empty. More... | |
Specialized testing class so unit test can call protected member functions to simulate drop operation.
Definition at line 32 of file test_drop_target.cpp.
|
inline |
Definition at line 34 of file test_drop_target.cpp.
|
inlinestatic |
Definition at line 40 of file test_drop_target.cpp.
References gui::drop_target::empty().
Referenced by BOOST_AUTO_TEST_CASE().
|
inline |
Definition at line 37 of file test_drop_target.cpp.
References gui::drop_target::handle_drop().