Copy and paste / res / edje /

main.edc

  1. /*
  2. * Copyright (c) 2016 Samsung Electronics Co., Ltd
  3. *
  4. * Licensed under the Flora License, Version 1.1 (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://floralicense.org/license/
  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. #include "../../inc/view_defines.h"
  18.  
  19. #define PART_MAIN_SINK_BG "main_sink_bg"
  20.  
  21. #define IMAGE_FPATH_SINK_BG "../res/images/sink.png"
  22.  
  23. collections {
  24. images {
  25. image: IMAGE_FPATH_SINK_BG COMP;
  26. }
  27.  
  28. group {
  29. name: GRP_MAIN;
  30.  
  31. parts {
  32. part {
  33. name: PART_MAIN_SOURCE;
  34. type: SWALLOW;
  35. description {
  36. state: "default" 0.0;
  37. rel1 {
  38. relative: 0.0 0.0;
  39. }
  40. rel2 {
  41. relative: 1.0 0.5;
  42. }
  43. }
  44. }
  45.  
  46. part {
  47. name: PART_MAIN_SINK_BG;
  48. type: IMAGE;
  49. description {
  50. state: "default" 0.0;
  51. image {
  52. normal: IMAGE_FPATH_SINK_BG;
  53. }
  54. rel1 {
  55. relative: 0.0 0.5;
  56. }
  57. rel2 {
  58. relative: 1.0 1.0;
  59. }
  60. }
  61. }
  62.  
  63. part {
  64. name: PART_MAIN_SINK;
  65. type: SWALLOW;
  66. description {
  67. state: "default" 0.0;
  68. rel1 {
  69. relative: 0.1 0.1;
  70. to: PART_MAIN_SINK_BG;
  71. }
  72. rel2 {
  73. relative: 0.9 0.9;
  74. to: PART_MAIN_SINK_BG;
  75. }
  76. }
  77. }
  78. }
  79. }
  80. }