Menu

#1007 Enhancement: Add icon update function

Resolved
nobody
None
Retail
Critical
Enhancement
2025-12-28
2014-11-11
Anonymous
No

Originally created by: Honor... (code.google.com)@gmail.com
Originally owned by: Honor... (code.google.com)@gmail.com

Hi! I'm a dude who is trying to build an addon for titan panel. I'm having a problem with not being able to update my icon image after the addon is loaded. It looks like I can update everything else except for the icon image.

http://pastebin.com/pwVNM2g0

It's built from the starter framework originally.

So you'll notice down at the event section:

function TIOSP6.Button_OnEvent?(self, event, ...)

    if (event == "PLAYER_ENTERING_WORLD") then

        local prof1, prof2, archaeology, fishing, cooking, firstAid = GetProfessions?(); TIOSP6.ProfTable? = { prof1, prof2, archaeology, fishing, cooking, firstAid } if TIOSP6.ProfTable?WhichProf? ~= nil then TIOSP6.name, TIOSP6.icon, TIOSP6.skillLevel, TIOSP6.maxSkillLevel, , , , = GetProfessionInfo?(TIOSP6.ProfTable?WhichProf?); end TitanPanelPluginHandle_OnUpdate?({TIOSP6.id, TITAN_PANEL_UPDATE_ALL})

    end

    end

Is there something like TitanPanelPluginHandle_OnUpdate? that will also update the icon image? If not can we get one?

oafkad@gmail.com is my contact information if that's not showing :).
ovide any additional information below that you feel is relevant.

Discussion

  • Anonymous

    Anonymous - 2014-11-11

    Originally posted by: Honor... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Labels: Type-Enhancement

     
  • urnati

    urnati - 2025-12-28
    • Description has changed:

    Diff:

    
    
    • status: Pending --> Resolved
    • Version: --> Retail
    • Priority: --> Critical
     
  • urnati

    urnati - 2025-12-28

    Clewaning old tickets.
    This can be done by updating the <addon>.registry.icon
    then calling TitanPanelButton_UpdateButton</addon>

     

Log in to post a comment.

MongoDB Logo MongoDB