Exemple #1
0
        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;
        }
Exemple #2
0
 public ScreenTextHandler(GLPanel p)
 {
     _text  = new Dictionary <string, TextData>();
     _panel = p;
 }