home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / WindowsServerTrial / server.iso / sources / install.wim / 2 / Windows / System32 / powercpl.dll / UIFILE / 104 < prev    next >
Text File  |  2008-01-19  |  24KB  |  381 lines

  1. <duixml>
  2. <stylesheets>
  3. <style resid="CommonNavPanelStyle">
  4. <if id="atom(NavPanel)">
  5. <Element background="themeable(dtb(ControlPanel,CPANEL_NAVIGATIONPANE,0),window)" width="200rp" padding="rect(0,9rp,0,0)" accessible="true" accName="CPNavPanel" accrole="pane"/>
  6. </if>
  7. <if id="atom(NavPanelWatermark)">
  8. <Element content="themeable(graphic(632,2,255,200rp,331rp,0,0,library(shell32.dll)),'')" width="200rp" background="ARGB(0,0,0,0)" contentalign="bottomleft"/>
  9. </if>
  10. </style>
  11. <style resid="cp_style">
  12. <button accessible="true" contentalign="wrapleft"/>
  13. <element overhang="false" background="argb(0,0,0,0)"/>
  14. <NavigateButton overhang="false" background="argb(0,0,0,0)"/>
  15. <ccpushbutton transparent="true" minsize="size(76rp,23rp)" Font="gtf(CONTROLPANELSTYLE, CPANEL_BUTTON, 0)" margin="rect(6rp,0rp,0rp,0rp)" accessible="true"/>
  16. <cccheckbox transparent="true" accessible="true" font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)"/>
  17. <combobox transparent="true" accessible="true" font="gtf(CONTROLPANELSTYLE,CPANEL_BUTTON,0)"/>
  18. <ccradiobutton transparent="true" accessible="true" font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)"/>
  19. <ccsyslink font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0)" transparent="true" accessible="true"/>
  20. <edit transparent="true" themedborder="true" width="120rp" accessible="true" accrole="text" height="20rp" font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)"/>
  21. <if class="cp_topbox">
  22. <element accessible="true" accrole="client" background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0),window)"/>
  23. </if>
  24. <if class="cp_nav_pane"> 
  25. <element width="200rp" background="themeable(dtb(CONTROLPANEL,CPANEL_NAVIGATIONPANE,0),window)" accessible="true" accrole="pane"/>
  26. </if>
  27. <if class="cp_nav_list"> 
  28. <element padding="rect(0rp,0rp,0rp,7rp)"/>
  29. </if>
  30. <if class="cp_nav_task_box">
  31. <element padding="rect(6rp,15rp,6rp,0rp)"/>
  32. </if>
  33. <if class="cp_nav_link_box">
  34. <element padding="rect(6rp,0rp,6rp,0rp)"/>
  35. </if>
  36. <if class="cp_nav_row">
  37. <element padding="rect(0rp,0rp,0rp,10rp)"/>
  38. <NavigateButton padding="rect(0rp,0rp,0rp,10rp)"/>
  39. </if>
  40. <if class="cp_nav_img">
  41. <element accessible="true" accrole="graphic" margin="rect(0rp,0rp,6rp,0rp)" width="sysmetric(SM_CXSMICON)"/>
  42. <button accessible="true" accrole="link" margin="rect(0rp,0rp,6rp,0rp)" cursor="hand" width="sysmetric(SM_CXSMICON)"/>
  43. </if>
  44. <if class="cp_nav_h_spacer">
  45. <element margin="rect(0rp,0rp,6rp,0rp)" width="sysmetric(SM_CXSMICON)"/>
  46. </if>
  47. <if class="cp_nav_line">
  48. <element height="1rp" background="themeable(dtb(CONTROLPANEL,CPANEL_NAVIGATIONPANELINE,0),buttonshadow)"/>
  49. </if>
  50. <if class="cp_nav_link">
  51. <Button accessible="true" accRole="link" accdefaction="click" foreground="gtc(CONTROLPANELSTYLE,CPANEL_TASKLINK,CPTL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_TASKLINK,CPTL_NORMAL)" overhang="false"/>
  52. <if keyfocused="true">
  53. <Button contentalign="wrapleft | focusrect"/>
  54. </if>
  55. <if enabled="false">
  56. <Button foreground="gtc(CONTROLPANELSTYLE,CPANEL_TASKLINK,CPTL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_TASKLINK,CPTL_DISABLED)"/>
  57. </if> 
  58. <if mousefocused="true">
  59. <Button cursor="hand" foreground="gtc(CONTROLPANELSTYLE,CPANEL_TASKLINK,CPTL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_TASKLINK,CPTL_HOT)"/>
  60. </if>
  61. </if>
  62. <if class="cp_nav_label">
  63. <element accessible="true" accrole="statictext" contentalign="wrapleft" foreground="gtc(CONTROLPANELSTYLE,CPANEL_NAVIGATIONPANELABEL,0,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE, CPANEL_NAVIGATIONPANELABEL, 0)"/>
  64. </if>
  65. <if class="cp_hub_frame">
  66. <element padding="rect(13rp,1rp,1rp,10rp)"/>
  67. </if>
  68. <if class="cp_spoke_frame">
  69. <element padding="rect(0rp,19rp,0rp,10rp)"/>
  70. </if>
  71. <if class="cp_help_glyph">
  72. <button height="18rp" width="18rp" content="icon(99,sysmetric(SM_CXSMICON),sysmetric(SM_CYSMICON),library(imageres.dll))" padding="rect(1rp,1rp,1rp,1rp)" accRole="link" accdefaction="click"/>
  73. <if keyfocused="true">
  74. <Button contentalign="focusrect"/>
  75. </if>
  76. </if>
  77. <if class="cp_content_pane">
  78. <element width="600rp" padding="rect(10rp,0rp,10rp,0rp)" background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0),window)"/>
  79. </if>
  80. <if class="cp_content_instruction">
  81. <element contentalign="wrapleft" foreground="gtc(CONTROLPANELSTYLE,CPANEL_TITLE,0,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE, CPANEL_TITLE, 0)" accessible="true" accRole="statictext"/>
  82. </if>
  83. <if class="cp_content_v_spacer">
  84. <element height="7rp"/>
  85. </if>
  86. <if class="cp_content_text">
  87. <element font="gtf(CONTROLPANELSTYLE, CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)" contentalign="wrapleft" accessible="true" accRole="statictext"/>
  88. <PText font="gtf(CONTROLPANELSTYLE, CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)" contentalign="wrapleft" accessible="true" accRole="statictext"/>
  89. </if>
  90. <if class="cp_content_title_text">
  91. <element font="gtf(CONTROLPANELSTYLE, CPANEL_BODYTITLE, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTITLE,0,TMT_TEXTCOLOR)" contentalign="wrapleft" accessible="true" accRole="statictext"/>
  92. </if>
  93. <if class="cp_help_link">
  94. <Button accessible="true" accRole="link" accdefaction="click" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_NORMAL)" overhang="false"/>
  95. <element accessible="true" accRole="link" accdefaction="click" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_NORMAL)" overhang="false"/>
  96. <if keyfocused="true">
  97. <Button contentalign="wrapleft | focusrect"/>
  98. <element contentalign="wrapleft | focusrect"/>
  99. </if>
  100. <if enabled="false">
  101. <Button foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_DISABLED)"/>
  102. <element foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_DISABLED)"/>
  103. </if>
  104. <if mousefocused="true">
  105. <Button cursor="hand" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT)"/>
  106. <element cursor="hand" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT)"/>
  107. </if>
  108. </if>
  109. <if class="cp_content_link">
  110. <Button accessible="true" accRole="link" accdefaction="click" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL)" overhang="false"/>
  111. <element accessible="true" accRole="link" accdefaction="click" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL)" overhang="false"/>
  112. <if keyfocused="true">
  113. <Button contentalign="wrapleft | focusrect"/>
  114. <element contentalign="wrapleft | focusrect"/>
  115. </if>
  116. <if enabled="false">
  117. <Button foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED)"/>
  118. <element foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED)"/>
  119. </if>
  120. <if mousefocused="true">
  121. <Button cursor="hand" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT)"/>
  122. <element cursor="hand" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT)"/>
  123. </if>
  124. </if> 
  125. <if class="cp_content_divider_header">
  126. <element background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0),window)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_GROUPTEXT,0,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE, CPANEL_GROUPTEXT, 0)" padding="rect(0rp,0rp,2rp,0rp)" contentalign="wrapleft" accessible="true" accRole="statictext"/>
  127. </if>
  128. <if class="cp_content_divider_line">
  129. <element height="1rp" width="565rp" background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANELINE,0),buttonshadow)"/>
  130. </if>
  131. <if class="cp_content_banner_box">
  132. <element padding="rect(7rp,7rp,7rp,7rp)" background="themeable(dtb(CONTROLPANEL,CPANEL_BANNERAREA,0),window)" borderthickness="rect(1rp,1rp,1rp,1rp)" bordercolor="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTPANELINE,0,TMT_FILLCOLORHINT)"/>
  133. </if>
  134. <if class="cp_command_sink">
  135. <element layoutpos="bottom" background="themeable(dtb(CONTROLPANEL,CPANEL_LARGECOMMANDAREA,0),window)"/>
  136. </if>
  137. <if class="cp_command_float">
  138. <element layoutpos="top" background="themeable(dtb(CONTROLPANEL,CPANEL_SMALLCOMMANDAREA,0),window)"/>
  139. </if>
  140. <if class="cp_command_button_box">
  141. <element padding="rect(0rp,10rp,10rp,10rp)" width="600rp"/> 
  142. </if>
  143. </style>
  144. <style resid="cp_hub_style">
  145. <if class="cp_hub_content_frame">
  146. <element width="600rp" background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0),window)"/>
  147. </if>
  148. <if class="cp_hub_content">
  149. <element padding="rect(20rp,9rp,10rp,0rp)" width="600"/>
  150. </if>
  151. <if class="cp_hub_content_instruction">
  152. <element padding="rect(0rp,4rp,0rp,0rp)" contentalign="wrapleft" foreground="gtc(CONTROLPANELSTYLE,CPANEL_TITLE,0,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE, CPANEL_TITLE, 0)" accessible="true" accRole="statictext"/>
  153. </if>
  154. <if class="cp_hub_content_text">
  155. <element padding="rect(0rp,7rp,0rp,0rp)" font="gtf(CONTROLPANELSTYLE, CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)" contentalign="wrapleft" accessible="true" accRole="statictext"/>
  156. </if>
  157. <if class="cp_hub_help_link">
  158. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_NORMAL)"/>
  159. <if keyfocused="true">
  160. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT)"/>
  161. </if>
  162. <if mousefocused="true">
  163. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_HOT)"/>
  164. </if>
  165. <if pressed="true">
  166. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_PRESSED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_PRESSED)"/>
  167. </if>
  168. <if enabled="false">
  169. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_HELPLINK,CPHL_DISABLED)"/>
  170. </if>
  171. </if>
  172. <if class="cp_hub_content_link">
  173. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_NORMAL)"/>
  174. <if keyfocused="true">
  175. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT)"/>
  176. </if>
  177. <if mousefocused="true">
  178. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_HOT)"/>
  179. </if>
  180. <if pressed="true">
  181. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_PRESSED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_PRESSED)"/>
  182. </if>
  183. <if enabled="false">
  184. <Button padding="rect(0rp,7rp,0rp,0rp)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED,TMT_TEXTCOLOR)" font="gtf(CONTROLPANELSTYLE,CPANEL_CONTENTLINK,CPCL_DISABLED)"/>
  185. </if>
  186. </if>
  187. <if class="cp_hub_nav_img">
  188. <element margin="rect(0rp,0rp,7rp,0rp)" width="16rp"/>
  189. </if>
  190. </style>
  191. <style resid="ScrollParts">
  192. <if class="ScrollViewer">
  193. <CCHScrollBar layoutpos="ninebottom" accessible="true"/>
  194. <CCVScrollBar layoutpos="nineright" accessible="true"/>
  195. <viewer layoutpos="nineclient"/>
  196. </if>
  197. </style>
  198. <style resid="powercp_style">
  199. <CCTrackBar background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0), window)" accessible="true" accrole="slider" width="175rp" height="35rp" padding="rect(10rp,5rp,10rp,5rp)" transparent="true"/>
  200. <Edit font="gtf(CONTROLPANELSTYLE, CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE, CPANEL_BODYTEXT, 0, TMT_TEXTCOLOR)" transparent="true" themedborder="true" width="120rp" accessible="true" accrole="text" height="20rp"/>
  201. <Combobox background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0), window)" font="gtf(CONTROLPANELSTYLE, CPANEL_BODYTEXT, 0)" accessible="true" accrole="combobox" padding="rect(0rp,5rp,0rp,5rp)"/>
  202. <if class="cp_content_text">
  203. <CCSysLink font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)" background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0), window)" transparent="true" accessible="true" accrole="link"/>
  204. </if>
  205. <if class="cp_content_help_text">
  206. <CCSysLink font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)" transparent="true" accessible="true" accrole="link"/>
  207. </if>
  208. </style>
  209. <style resid="ExpandoButton">
  210. <element foreground="gtc(CONTROLPANELSTYLE,CPANEL_GROUPTEXT, 0, TMT_TEXTCOLOR)"/>
  211. <button cursor="hand"/>
  212. <clipper visible="false"/>
  213. <if expanded="true">
  214. <clipper visible="true"/>
  215. </if>
  216. <if id="atom(ExpandedContentArea)">
  217. <element animation="rectanglev | s | fast"/>
  218. </if>
  219. <if id="atom(ExpandoTextExpanded)">
  220. <element font="gtf(CONTROLPANELSTYLE, CPANEL_GROUPTEXT, 0)" contentalign="wrapleft" accessible="true" accrole="statictext"/>
  221. <if selected="false">
  222. <element layoutpos="none" enabled="false"/>
  223. </if>
  224. </if>
  225. <if id="atom(ExpandoTextCollapsed)">
  226. <element font="gtf(CONTROLPANELSTYLE, CPANEL_GROUPTEXT, 0)" contentalign="wrapleft" accessible="true" accrole="statictext"/>
  227. <if selected="true">
  228. <element layoutpos="none" enabled="false"/>
  229. </if>
  230. </if>
  231. <if id="atom(divider)">
  232. <element height="1rp" width="5000rp" background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANELINE,0),buttonshadow)"/>
  233. </if>
  234. <if id="atom(ExpandoButtonImageExpanded)">
  235. <button width="18rp" height="21rp" background="themeable(dtb(LISTVIEW, LVP_EXPANDBUTTON, LVEB_NORMAL), resbmp(147,7,-1,0,0,0,0,library(comctl32.dll)))" accessible="true" accrole="PushButton"/>
  236. <if mousefocused="true">
  237. <button background="themeable(dtb(LISTVIEW, LVP_EXPANDBUTTON, LVEB_HOVER),  resbmp(147,7,-1,0,0,0,0,library(comctl32.dll)))"/>
  238. </if>
  239. <if keyfocused="true">
  240. <button contentalign="focusrect"/>
  241. </if>
  242. <if pressed="true">
  243. <button background="themeable(dtb(LISTVIEW, LVP_EXPANDBUTTON, LVEB_PUSHED), resbmp(147,7,-1,0,0,0,0,library(comctl32.dll)))"/>
  244. </if>
  245. <if selected="true">
  246. <button background="themeable(dtb(LISTVIEW, LVP_COLLAPSEBUTTON, LVEB_NORMAL), resbmp(148,7,-1,0,0,0,0,library(comctl32.dll)))"/>
  247. <if mousefocused="true">
  248. <button background="themeable(dtb(LISTVIEW, LVP_COLLAPSEBUTTON, LVEB_HOVER),  resbmp(148,7,-1,0,0,0,0,library(comctl32.dll)))"/>
  249. </if>
  250. <if pressed="true">
  251. <button background="themeable(dtb(LISTVIEW, LVP_COLLAPSEBUTTON, LVEB_PUSHED), resbmp(148,7,-1,0,0,0,0,library(comctl32.dll)))"/>
  252. </if>
  253. </if>
  254. <if selected="false">
  255. <button layoutpos="none" enabled="false"/>
  256. </if>
  257. </if>
  258. <if id="atom(ExpandoButtonImageCollapsed)">
  259. <button width="18rp" height="21rp" background="themeable(dtb(LISTVIEW, LVP_EXPANDBUTTON, LVEB_NORMAL), resbmp(147,7,-1,0,0,0,0,library(comctl32.dll)))" accessible="true" accrole="PushButton"/>
  260. <if mousefocused="true">
  261. <button background="themeable(dtb(LISTVIEW, LVP_EXPANDBUTTON, LVEB_HOVER),  resbmp(147,7,-1,0,0,0,0,library(comctl32.dll)))"/>
  262. </if>
  263. <if keyfocused="true">
  264. <button contentalign="focusrect"/>
  265. </if>
  266. <if pressed="true">
  267. <button background="themeable(dtb(LISTVIEW, LVP_EXPANDBUTTON, LVEB_PUSHED), resbmp(147,7,-1,0,0,0,0,library(comctl32.dll)))"/>
  268. </if>
  269. <if selected="true">
  270. <button layoutpos="none" enabled="false"/>
  271. </if>
  272. </if>
  273. </style>
  274. <style resid="RadioBtnSS">
  275. <CCRadioButton font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)" background="themeable(dtb(CONTROLPANEL,CPANEL_CONTENTPANE,0),window)" accessible="true"/>
  276. <if id="atom(RadioDescription)">
  277. <element font="gtf(CONTROLPANELSTYLE,CPANEL_BODYTEXT, 0)" foreground="gtc(CONTROLPANELSTYLE,CPANEL_BODYTEXT,0,TMT_TEXTCOLOR)" contentalign="WrapLeft"/>
  278. </if>
  279. </style>
  280. </stylesheets>
  281. <PowerCplPage resid="main" id="atom(pageGlobalSettings)" sheet="cp_style" layout="borderlayout()" accrole="window" accname="resstr(1)" accessible="true">
  282. <element id="atom(ControlPanelPane)" class="cp_topbox" layout="BorderLayout()" layoutpos="client" accessible="false">
  283. <AutoScrollViewer id="atom(ScrollViewer)" sheet="common" layoutpos="top" xscrollable="false" xbarvisibility="never">
  284. <element layout="borderlayout()" sheet="cp_style">
  285. <element layoutpos="top" Layout="FlowLayout(0,ALIGN_LEFT,ALIGN_CENTER)" class="cp_spoke_frame">
  286. <element class="cp_content_pane" layoutpos="top" accrole="pane" layout="BorderLayout()" accname="resstr(54)">
  287. <element id="atom(TaskTitle)" layoutpos="top" class="cp_content_instruction" accname="resstr(300)" content="resstr(300)"/>
  288. <element id="atom(TaskDescription)" layoutpos="top" class="cp_content_text" padding="rect(0rp,7rp,0rp,0rp)" accname="resstr(301)" content="resstr(301)"/>
  289. <macro id="atom(GroupPolicyMessage)" expand="GroupPolicyControl" layoutpos="none">
  290. <bind connect="Link_GroupPolicyText" accname="resstr(21)" content="resstr(20)"/>
  291. </macro>
  292. <macro id="atom(ErrorMessage)" expand="ErrorMessageControl" layoutpos="none"/>
  293. <macro id="atom(Link_EnableLUA)" expand="LUAMessageControl" layoutpos="none"/>
  294. <element id="atom(PageContents)" layoutpos="top" layout="BorderLayout()">
  295. <element id="atom(SettingsElement)" layoutpos="top" layout="BorderLayout()">
  296. <macro id="atom(ButtonHeader)" expand="HeaderItemBar" layoutpos="top">
  297. <bind connect="ExpandoTextExpanded" accname="resstr(310)" content="resstr(310)"/>
  298. </macro>
  299. <element id="atom(SettingControls)" padding="rect(16rp,0rp,10rp,0rp)" layout="BorderLayout()" layoutpos="top"/>
  300. </element>
  301. <macro id="atom(PasswordHeader)" layoutpos="top" expand="HeaderItemBar">
  302. <bind connect="ExpandoTextExpanded" accname="resstr(330)" content="resstr(330)"/>
  303. </macro>
  304. <RadioSelector id="atom(PasswordOnWakeSelector)" layoutPos="top" layout="BorderLayout()" padding="rect(16rp,10rp,20rp,10rp)">
  305. <CCRadioButton id="atom(LockOnWakeRadio)" winstyle="0x00000400" margin="rect(0rp,10rp,5rp,0rp)" layoutpos="top" sheet="RadioBtnSS" shortcut="auto" content="resstr(340)" accname="resstr(342)"/>
  306. <element layoutpos="top" layout="borderlayout()" active="inactive">
  307. <CCSysLink id="atom(LockOnWakeRadioDescription)" accessible="true" accrole="statictext" sheet="powercp_style" class="cp_content_text" layoutpos="top" padding="rect(sysmetric(SM_CXMENUCHECK),0rp,5rp,5rp)" accname="resstr(343)" content="resstr(341)" BackgroundOwnerID="atom(ControlPanelPane)"/>
  308. </element>
  309. <ccradiobutton id="atom(UnLockOnWakeRadio)" winstyle="0x00000400" margin="rect(0rp,10rp,5rp,0rp)" layoutpos="top" sheet="RadioBtnSS" shortcut="auto" content="resstr(345)" accname="resstr(347)"/>
  310. <element layoutpos="top" layout="borderlayout()" active="inactive">
  311. <CCSysLink id="atom(UnLockOnWakeRadioDescription)" accessible="true" accrole="statictext" sheet="powercp_style" class="cp_content_text" layoutpos="top" active="inactive" padding="rect(sysmetric(SM_CXMENUCHECK),0rp,5rp,5rp)" accname="resstr(348)" content="resstr(346)" BackgroundOwnerID="atom(ControlPanelPane)"/>
  312. </element>
  313. </RadioSelector>
  314. </element>
  315. </element>
  316. </element>
  317. <macro id="atom(ButtonPanel)" expand="ButtonPanelMacro"/>
  318. </element>
  319. </AutoScrollViewer>
  320. </element>
  321. </PowerCplPage>
  322. <element resid="ButtonPanelMacro" Layout="FillLayout()" padding="rect(0rp,7rp,0rp,0rp)">
  323. <element sheet="cp_style" class="cp_command_float" Layout="BorderLayout()">
  324. <element layoutpos="top" layout="FlowLayout(0,ALIGN_TOP,ALIGN_CENTER)">
  325. <element layout="FlowLayout(0,ALIGN_TOP,ALIGN_RIGHT)" class="cp_command_button_box">
  326. <viewer>
  327. <element layout="FlowLayout()">
  328. <CCPushButton id="atom(Link_Accept)" content="resstr(5)"/>
  329. <CCPushButton id="atom(Link_Cancel)" content="resstr(6)" accname="resstr(6)"/>
  330. </element>
  331. </viewer>
  332. </element>
  333. </element>
  334. </element>
  335. </element>
  336. <element resid="ExpandoArea" layout="Borderlayout()" layoutpos="top" sheet="ExpandoButton">
  337. <expando id="atom(Expando)" layout="borderlayout()" layoutpos="top" padding="rect(0rp,14rp,0rp,0rp)">
  338. <button id="atom(arrow)" layout="borderlayout()" layoutpos="top">
  339. <element id="atom(ExpandoButtonText)" layoutpos="left" layout="FlowLayout(0,ALIGN_CENTER)">
  340. <element id="atom(ExpandoTextExpanded)"/>
  341. <element id="atom(ExpandoTextCollapsed)"/>
  342. </element>
  343. <element LayoutPos="client" Layout="FlowLayout(0,ALIGN_CENTER,ALIGN_LEFT,ALIGN_CENTER)" padding="rect(5rp,5rp,5rp,5rp)">
  344. <element id="atom(divider)" class="cp_content_divider_line"/>
  345. </element>
  346. <element layout="FlowLayout(0,ALIGN_CENTER)" layoutpos="right">
  347. <button id="atom(ExpandoButtonImageExpanded)" active="inactive"/>
  348. <button id="atom(ExpandoButtonImageCollapsed)" active="inactive"/>
  349. </element>
  350. </button>
  351. <clipper id="atom(clipper)" layoutpos="client">
  352. <element id="atom(ExpandedContentArea)" layout="BorderLayout()"/>
  353. </clipper>
  354. </expando>
  355. </element>
  356. <element resid="HeaderItemBar" active="inactive" Layout="BorderLayout()" padding="rect(0rp,14rp,0rp,0rp)" sheet="ExpandoButton">
  357. <element id="atom(ExpandoTextExpanded)" LayoutPos="left"/>
  358. <element LayoutPos="Client" Layout="FlowLayout(0,ALIGN_CENTER,ALIGN_LEFT,ALIGN_CENTER)" padding="rect(5rp,5rp,5rp,5rp)">
  359. <element id="atom(divider)" class="cp_content_divider_line"/>
  360. </element>
  361. </element>
  362. <element resid="GroupPolicyControl" layout="BorderLayout()" padding="rect(0rp,20rp,0rp,10rp)">
  363. <element id="atom(GroupPolicyPane)" layoutpos="top" layout="borderlayout()" background="themeable(dtb(CONTROLPANEL,CPANEL_BANNERAREA,0),window)">
  364. <element layoutpos="top" layout="BorderLayout()" margin="rect(0rp,5rp,0rp,0rp)" background="resbmp(504,7)" borderthickness="rect(4,4,4,4)">
  365. <element background="themeable(dtb(CONTROLPANEL,CPANEL_BANNERAREA,0),window)" layoutpos="client" layout="NineGridLayout()" contentalign="wrapleft" padding="rect(5rp,5rp,5rp,5rp)">
  366. <element layoutpos="nineleft" content="icon(24,sysmetric(SM_CXSMICON),sysmetric(SM_CYSMICON),library(shell32.dll))" Accessible="true" AccRole="Graphic" padding="rect(0rp,0rp,5rp,0rp)"/>
  367. <CCSysLink id="atom(Link_GroupPolicyText)" layoutpos="nineclient" sheet="powercp_style" class="cp_content_help_text" BackgroundOwnerID="atom(GroupPolicyPane)"/>
  368. </element> 
  369. </element>
  370. </element>
  371. </element>
  372. <element resid="ErrorMessageControl" layout="NineGridLayout()" padding="rect(0rp,20rp,0rp,10rp)">
  373. <element content="icon(20480,sysmetric(SM_CXSMICON),sysmetric(SM_CYSMICON),library(comctl32.dll))" Accessible="true" AccRole="Graphic" padding="rect(0rp,0rp,5rp,0rp)" layoutpos="nineleft"/>
  374. <CCSysLink id="atom(Link_ErrorMessageText)" sheet="powercp_style" class="cp_content_text" active="mouse|keyboard" layoutpos="nineclient"/>
  375. </element>
  376. <element resid="LUAMessageControl" layout="NineGridLayout()" padding="rect(0rp,7rp,0rp,0rp)">
  377. <element padding="rect(0rp,0rp,5rp,0rp)" content="icon(78,sysmetric(SM_CXSMICON),sysmetric(SM_CYSMICON),library(imageres.dll))" layoutpos="nineleft"/>
  378. <button id="atom(Link_EnableLUA)" class="cp_content_link" layoutpos="nineclient" accname="resstr(30)" content="resstr(30)"/>
  379. </element>
  380. </duixml>
  381.