예제 #1
0
        private void Init()
        {
            if (this.field == null)
            {
                textureIds = new int[Textures.Count];

                GL.Enable(All.CullFace);
                GL.CullFace(All.Back);

                GL.Enable(All.Blend);
                GL.BlendFunc(All.SrcAlpha, All.OneMinusSrcAlpha);

                // create texture ids
                GL.Enable(All.Texture2D);
                GL.GenTextures(Textures.Count, textureIds);

                for (int i = 0; i < Textures.Count; i++)
                {
                    LoadTexture((Bitmap)Textures.Get(i), textureIds[i]);
                }

                this.field = new CLField(textureIds, GLView.context);
                this.field.MakeLabels(GLView.context.Resources.Configuration.Orientation == Android.Content.Res.Orientation.Landscape, left, right, bottom, top, scale);
            }
        }
 public override Java.Lang.Object GetItem(int position)
 {
     return(projetos.Get(position));
 }
예제 #3
0
 public override Object GetItem(int position)
 {
     return(spacecrafts.Get(position));
 }
예제 #4
0
 public override Java.Lang.Object GetItem(int position)
 {
     return(transactions.Get(position));
 }
예제 #5
0
 public override Java.Lang.Object GetItem(int position)
 {
     return(contacts.Get(position));
 }
 public override Object GetItem(int position)
 {
     return(fruits.Get(position));
 }
예제 #7
0
 public override Java.Lang.Object GetItem(int position)
 {
     return(albumCovers.Get(position));
 }