components.xml 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <!-- =================================================================================================== -->
  2. <!--
  3. This defines the wasabi default containers. A window can request to be shown inside a specific container by id.
  4. When the container id does not exist, all containers are checked in reverse to find one with a 'hold' parameter
  5. that matches the window to show. Note that scripts get the opportunity to override this so you can distribute
  6. your containers programatically.
  7. The predefined wasabi container ids are the following :
  8. resizable_status
  9. resizable_nostatus
  10. static
  11. modal
  12. -->
  13. <!-- =================================================================================================== -->
  14. <groupdef id="component.content.group">
  15. <WindowHolder
  16. x="0"
  17. y="0"
  18. w="0"
  19. relatw="1"
  20. h="0"
  21. relath="1"
  22. hold="@ALL@"
  23. />
  24. </groupdef>
  25. <!-- =================================================================================================== -->
  26. Resizable windows with a status bar, ie: playlist editor, media library
  27. <!-- =================================================================================================== -->
  28. <container id="resizable_status" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  29. <layout id="normal" minimum_h="116" minimum_w="275">
  30. <Wasabi:StandardFrame:Status id="wasabi.standardframe"
  31. x="0" y="0" w="0" h="0" relatw="1" relath="1"
  32. content="component.content.group"
  33. />
  34. </layout>
  35. </container>
  36. <!-- =================================================================================================== -->
  37. Resizable windows without a status bar
  38. <!-- =================================================================================================== -->
  39. <container id="resizable_nostatus" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  40. <layout id="resizable_nostatus" minimum_h="116" minimum_w="275">
  41. <Wasabi:StandardFrame:NoStatus
  42. x="0" y="0" w="0" h="0" relatw="1" relath="1"
  43. content="component.content.group"
  44. />
  45. </layout>
  46. </container>
  47. <!-- =================================================================================================== -->
  48. modal windows, window intended to look like dialog boxes or messageboxes
  49. <!-- =================================================================================================== -->
  50. <container id="modal" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  51. <layout id="modal" minimum_h="116" minimum_w="275">
  52. <Wasabi:StandardFrame:Modal
  53. x="0" y="0" w="0" h="0" relatw="1" relath="1"
  54. content="component.content.group"
  55. />
  56. </layout>
  57. </container>
  58. <!-- =================================================================================================== -->
  59. static windows, ie: preferences
  60. <!-- =================================================================================================== -->
  61. <container id="static" name=":componenttitle" dynamic="1" hold="@all@" default_x="275" default_y="0">
  62. <layout id="static" minimum_h="116" minimum_w="275">
  63. <Wasabi:StandardFrame:Static
  64. x="0" y="0" w="0" h="0" relatw="1" relath="1"
  65. content="component.content.group"
  66. />
  67. </layout>
  68. </container>