home *** CD-ROM | disk | FTP | other *** search
- <!-- DUI dialog code adapted from WU optin code. WU code author: KenSh -->
- <duixml>
-
- <stylesheets>
-
- <style resid="dialogStyle">
- <element accessible="true" background="argb(0,0,0,0)" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)"/>
- <edit accessible="true" accRole="text"/>
- <button accessible="true" accRole="pushbutton" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)"/>
- <combobox accessible="true" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)" transparent="true"/>
- <ccsyslink font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)" accessible="true" accrole="link" contentalign="wrapleft"/>
- <CCCommandLink accessible="true" accrole="pushbutton" transparent="true"/>
- <CCProgressBar accessible="true" transparent="true"/>
- <if class="dialog_background">
- <element accessible="true" background="themeable(dtb(TaskDialog,TDLG_PRIMARYPANEL,0), threedface)"/>
- </if>
- <if class="dialogBoldText">
- <element accessible="true" font="gtf(TextStyle,TEXT_BODYTITLE,0)" foreground="gtc(TextStyle,TEXT_BODYTITLE,0,TMT_TEXTCOLOR)"/>
- </if>
-
- <!-- Copied from cp_content_link in cplstyles.h, plus "noprefix" -->
- <if class="dlg_content_link">
- <!-- content link markup -->
- <Button accessible="true" accRole="link" accdefaction="click" contentalign="wrapleft | noprefix" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL)" overhang="false"/>
- <if keyfocused="true">
- <Button contentalign="wrapleft | noprefix | focusrect"/>
- </if>
- <if enabled="false">
- <Button foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED)"/>
- </if>
- <if mousefocused="true">
- <Button cursor="hand" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT)"/>
- </if>
- </if>
-
- <if class="dlg_tabstop_text">
- <button accessible="true" accrole="text" contentalign="wrapleft | noprefix" font="gtf(TaskDialogStyle,TDLG_CONTENTPANE,0)" foreground="gtc(TaskDialogStyle,TDLG_CONTENTPANE,0,TMT_TEXTCOLOR)" overhang="false"/>
- <if keyfocused="true">
- <button contentalign="wrapleft | noprefix | focusrect"/>
- </if>
- </if>
-
- </style>
-
- </stylesheets>
-
- <element resid="OptInChoice" layout="borderlayout()" sheet="dialogStyle" class="dialog_background">
-
- <OptInChoice layoutpos="top" width="515rp" layout="borderlayout()">
-
- <element layoutpos="top" layout="flowlayout()" contentalign="wrapleft | noprefix">
-
- <!-- There seems to be a bug in TaskDialog/CCCommandLink in which
- using windowless DUI element as a leaf node before any
- windowed DUI element causes the command link below to occupy
- the whole screen. Therefore the CCSysLink is left to display
- static text. Note: keyboard focus has also been removed from
- the CCSysLink to prevent actionless tab stop. -->
-
- <CCSysLink active="inactive" accrole="statictext" content="resstr(1101)"/>
-
- </element>
-
- <element layoutpos="top" layout="flowlayout()" margin="rect(0,5rp,0,0)">
- <button id="atom(MoreInfoLink)" class="dlg_content_link" active="mouse | keyboard" content="resstr(1100)"/>
- </element>
-
- <element layoutpos="top" layout="borderlayout()" contentalign="wrapleft | noprefix" padding="rect(0,12rp,0,0)" class="dialog_background">
-
- <CCCommandLink id="atom(RecommendedCommandLink)" layoutpos="top" active="mouse | keyboard" content="resstr(1102)" note="resstr(1104)"/>
- <CCCommandLink id="atom(ManualCommandLink)" layoutpos="top" active="mouse | keyboard" content="resstr(1103)" note="resstr(1105)"/>
-
- </element>
-
- </OptInChoice>
-
- </element>
-
- </duixml>
-