Пример #1
0
 public GlListDrawable(IDrawable drawable)
 {
     if (drawable == null) { throw new ArgumentNullException("drawable"); }
     this.refresh = -1;
     this.drawable = drawable;
     this.bufferedDrawable = drawable as BufferedDrawable;
 }
Пример #2
0
 public GlListDrawable(IDrawable drawable)
 {
     if (drawable == null)
     {
         throw new ArgumentNullException("drawable");
     }
     this.refresh          = -1;
     this.drawable         = drawable;
     this.bufferedDrawable = drawable as BufferedDrawable;
 }