File Manager / edc /

path_info.edc

  1. /*
  2. * Copyright 2014 Samsung Electronics Co., Ltd All Rights Reserved
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the "License");
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16.  
  17. #define PATH_INFO_HEIGHT 80
  18. #define PATH_INFO_PADING_WIDTH 20
  19. #define PATH_INFO_BOTTOM_DIVIDER_HEIGHT 4
  20. #define PATH_INFO_COLOR_DIVIDER 61 185 204 255
  21.  
  22. group
  23. {
  24. name: "path_info";
  25. parts
  26. {
  27. part
  28. {
  29. name: "base";
  30. type: RECT;
  31. scale: 1;
  32. description
  33. {
  34. state: "default" 0.0;
  35. min: 0 PATH_INFO_HEIGHT;
  36. }
  37. }
  38. part
  39. {
  40. name: "top_left_padding";
  41. type: SPACER;
  42. scale: 1;
  43. description
  44. {
  45. state: "default" 0.0;
  46. min: PATH_INFO_PADING_WIDTH 0;
  47. max: PATH_INFO_PADING_WIDTH -1;
  48. fixed: 1 0;
  49. rel1
  50. {
  51. relative: 0 0;
  52. }
  53. rel2
  54. {
  55. relative: 0 1;
  56. }
  57. align: 0.0 0.5;
  58. }
  59. }
  60. part
  61. {
  62. name: "info";
  63. type: SWALLOW;
  64. scale: 1;
  65. description
  66. {
  67. state: "default" 0.0;
  68. align: 0.0 0.5;
  69. rel1
  70. {
  71. relative: 1.0 0.0;
  72. to: "top_left_padding";
  73. }
  74. rel2
  75. {
  76. relative: 0.0 1.0;
  77. to: "botton_right_padding";
  78. }
  79. }
  80. }
  81.  
  82. part
  83. {
  84. name: "botton_right_padding";
  85. type: SPACER;
  86. scale: 1;
  87. description
  88. {
  89. state: "default" 0.0;
  90. fixed: 1 0;
  91. min: PATH_INFO_PADING_WIDTH 0;
  92. max: PATH_INFO_PADING_WIDTH -1;
  93. rel1
  94. {
  95. relative: 1 0;
  96. }
  97. rel2
  98. {
  99. relative: 1 1;
  100. }
  101. align: 1.0 0.5;
  102. }
  103. }
  104. part
  105. {
  106. name: "divider";
  107. type: RECT;
  108. scale: 1;
  109. description
  110. {
  111. state: "default" 0.0;
  112. fixed: 0 1;
  113. align: 0.0 1.0;
  114. max: -1 PATH_INFO_BOTTOM_DIVIDER_HEIGHT;
  115. color: PATH_INFO_COLOR_DIVIDER;
  116. }
  117. }
  118. }
  119. }