Beispiel #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));
 }
Beispiel #3
0
 public override Object GetItem(int position)
 {
     return(spacecrafts.Get(position));
 }
Beispiel #4
0
 public override Java.Lang.Object GetItem(int position)
 {
     return(transactions.Get(position));
 }
 public override Java.Lang.Object GetItem(int position)
 {
     return(contacts.Get(position));
 }
 public override Object GetItem(int position)
 {
     return(fruits.Get(position));
 }
Beispiel #7
0
 public override Java.Lang.Object GetItem(int position)
 {
     return(albumCovers.Get(position));
 }