protected virtual void OnContextChanged(bool isNowCurrent) { //Don't update anything if this context has just been released if (isNowCurrent) { OnResize(EventArgs.Empty); } _currentPanel = isNowCurrent ? this : null; }
public ScreenTextHandler(GLPanel p) { _text = new Dictionary <string, TextData>(); _panel = p; }