View Single Post
08/19/17, 08:33 PM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
http://www.esoui.com/downloads/info1...ourcecode.html

Download, Browse, find.

Also why when I look at the wiki does it seem the esoui api is always behind? like right now it says "Page up-to-date to API Version 100020 (except ESOUI API which is at 100016)" Thanks for any assistance you can give a newcomer as I try to figure this all out.
I'm lazy.

And ZO_ReticleContainerInteract is not part of the API, ZO_ReticleContainerInteract is defined in the Lua code, it does not come from the C++ Code.

And I would add that it's not even defined in a .lua file, but in an XML Definition.
\esoui\ingame\reticle\reticle.xml
So it don't have any parameter because it's not a function, it's a variable.

Lua Code:
  1. <GuiXml>
  2.     <Controls>
  3.         <TopLevelControl name="ZO_ReticleContainer" hidden="true" tier="LOW" layer="BACKGROUND">
  4.             <AnchorFill/>
  5.  
  6.             <OnInitialized>
  7.                 ZO_Reticle_Initialize(self)
  8.             </OnInitialized>
  9.  
  10.             <Controls>
  11.                        
  12.                 <Control name="$(parent)Interact" hidden="true">
  13.                     <Dimensions x="200" y="50" />
  14.                     <Anchor point="LEFT" relativePoint="CENTER" offsetX="45" offsetY="40" />
  15.                     <Controls>
  16.                         <Label name="$(parent)Context">
  17.                             <DimensionConstraints maxX="380" />
  18.                             <Anchor point="BOTTOMLEFT" />
  19.                         </Label>
  20.  
  21.                         <Control name="$(parent)KeybindButton" inherits="ZO_KeybindButton">
  22.                             <Anchor point="TOPLEFT" relativeTo="$(parent)Context" relativePoint="BOTTOMLEFT" offsetX="20" offsetY="6"/>
  23.                         </Control>
  24.  
  25.                         <Label name="$(parent)AdditionalInfo" color="INTERFACE_COLOR_TYPE_TEXT_COLORS:INTERFACE_TEXT_COLOR_CONTRAST">
  26.                             <Anchor point="TOPLEFT" relativeTo="$(parent)KeybindButtonNameLabel" relativePoint="BOTTOMLEFT" offsetY="6"/>
  27.                         </Label>
  28.                     </Controls>
  29.                 </Control>
  Reply With Quote