Ejemplo n.º 1
0
        public ComboBoxTexture(Texture2D selectionTexture, Texture2D selectedTexture, Texture2D itemBackgroundTexture, Texture2D currentItemTexture, ScrollerTexture scrollTexture)
        {
            this.currentItemTexture    = currentItemTexture;
            this.scrollTexture         = scrollTexture;
            this.selectionTexture      = selectionTexture;
            this.selectedTexture       = selectedTexture;
            this.itemBackgroundTexture = itemBackgroundTexture;

            selectedColor       = Color.White;
            selectionColor      = Color.White;
            itemBackgroundColor = Color.White;
        }
Ejemplo n.º 2
0
        public ComboBoxTexture(Texture2D commonTexture, Color selectionColor, Color selectedColor, Color itemBackgroundColor, Color currentItemColor, ScrollerTexture scrollTexture)
        {
            this.currentItemTexture    = commonTexture;
            this.scrollTexture         = scrollTexture;
            this.selectionTexture      = commonTexture;
            this.selectedTexture       = commonTexture;
            this.itemBackgroundTexture = commonTexture;

            this.selectedColor       = selectedColor;
            this.selectionColor      = selectionColor;
            this.itemBackgroundColor = itemBackgroundColor;
            this.currentItemColor    = currentItemColor;
        }