void DBConnectionPool::release(const string& host, DBClientBase *c) { onRelease(c); scoped_lock L(_mutex); _pools[PoolKey(host,c->getSoTimeout())].done(this,c); }
void ofxSimpleGuiComboBox::onReleaseOutside(int x, int y, int button) { onRelease(x, y, button); }
CallbackAttachedResponse Button::onRelease(uint16_t wait, ButtonOnEventCallback callback){ return onRelease(wait, -1, callback); }
CallbackAttachedResponse Button::onRelease(ButtonOnEventCallback callback){ return onRelease(0, callback); }
void ofxSimpleGuiToggle::keyReleased( int key ) { if(key==keyboardShortcut) onRelease(0, 0, 0); }