Does anyone know how to get an XML callback somewhere in the xml code when we collapse or expand a journal entry?
Or (perhaps better still), does anyone know how to insert some xml that allows a journal entry to be clicked on and its entry recognised in a callback?
My guess is that it has to be somewhere in this bit … if possible.
(Extract from journal.xml)
<UIListbox name="JournalEntryList" x=1 y=47 width=332 height=320 yPadding=2
showpartialchild=true scrollbaronright=true unequalcontrols=true scrollsegmentsize=32
update=true OnUpdate=UIObject_OnUpdate_GetJournalEntries() >
<UICollapsable prototype=true name="JournalCollapsable" x=0 y=0 height=PARENT_HEIGHT width=299 isexpanded=true
yPadding=1 xPadding=5 >
<UIButton name="PROTO_HEADER" x=0 y=0 height=44 width=299 header=true >
<UIText indent=18 hangingindent=18 align=left valign=middle fontfamily="Default" style=2 uppercase=true prototype=true maxlines=2 />
<UIFrame state=up fill="b_qjd_hover_pressed.tga" />
<UIFrame state=down fill="b_qjd_hover_pressed.tga" />
<UIFrame state=hilited fill="b_qjd_hover_pressed.tga" />
<UIFrame state=focused fill="b_qjd_hover_pressed.tga" />
<UIFrame state=hifocus fill="b_qjd_hover_pressed.tga" />
<UIFrame state=disabled fill="b_qjd_hover_pressed.tga" />
<UIFrame state=header fill="b_qjd_normal.tga" />
<UIFrame state=hiheader fill="b_qjd_normal.tga" />
<UIFrame state=downheader fill="b_qjd_normal.tga" />
</UIButton>
<UIText name="PROTO_TEXT" x=0 y=0 width=299 height=DYNAMIC prototype=true align=left valign=top multiline=true color="312A0A"
fontfamily="NWN1_Dialog" style="bold" />
</UICollapsable>
<UIScrollBar name="SB" style="STYLE_SB_THIN"></UIScrollBar>
</UIListbox>