Results 1 to 2 of 2

Thread: Custom UI icons - what are they?

  1. #1

    Custom UI icons - what are they?

    I'm just trying out the custom UI. The docs refer to an icon defined by a string value. What is this icon? An object in the game? A bitmap? Is the string value supposed to be the UID or what? I can't find this in the documentation, probably just haven't looked in the right place.

  2. #2
    I found this in the documentation. Not sure if it is related:

    Image Attributes
    Applies to elements with an image component. The string that images all take is the NAME THE IMAGE WAS GIVEN WHEN YOU PUT IT IN THE IN-GAME ASSET MANAGER.


    What is the IN-GAME ASSET MANAGER? Is this the CLOUD MANAGER or do we need to load these assets in using code like:

    Code:
    function onLoad()
        local assets = {
            {
                name = "Image 1",
                url  = "http://placehold.it/120x120&text=image1"
            },
            {
                name = "Image 2",
                url  = "http://placehold.it/120x120&text=image2"
            },
        }
        UI.setCustomAssets(assets)
    end

Similar Threads

  1. Option for bigger icons in games list
    By Unreal_Ed in forum Suggestions
    Replies: 2
    Last Post: 10-15-2017, 11:40 AM
  2. [ADDED] [v7.7] Configuration option to switch off the tooltip icons
    By Cluny in forum Suggestions
    Replies: 1
    Last Post: 08-05-2016, 11:43 PM
  3. [SOLVED] Icons are blurred (text is fine)
    By Jedra7609 in forum Technical Support
    Replies: 0
    Last Post: 02-27-2016, 10:41 AM
  4. [SOLVED] Misaligned 3D icons in Custom Objects bar.
    By Lucky seven in forum Bug Reports
    Replies: 0
    Last Post: 09-14-2015, 12:26 PM
  5. The icons in the Chest look not very good.
    By olejika in forum General Discussion
    Replies: 2
    Last Post: 05-10-2015, 11:59 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •