On Thu, 05 Nov 2015 13:16:16 +0000 (GMT) 김승균 <sgyun....@samsung.com> said:
i just replied to boram on this :) see that reply. > > Hi~ > > > I have some questions about "fixed" in edc part description. > > I understood the main concept of the "fixed" and > edje_object_size_min_restricted_calc logic by irc today. > > > As I understand, the part needs to add "fixed" in below cases. > > a) part's min and max values are same case > > ------------------------------------------ > > part { > > name: "part_rect"; > > type: RECT; > > description { > > state: "default" 0.0; > > min: 100 100; > > max: 100 100; > > fixed: 1 1; > > rel1.relative: 0.0 0.0; > > rel2.relative: 1.0 1.0; > > } > > } > > ------------------------------------------ > > > b) part's rel1 and rel2 has line based relation case > > b.1) vertical line relation > > ------------------------------------------ > > part { > > name: "part_vertcal_line"; > > type: RECT; > > description { > > state: "default" 0.0; > > min: 100 0; > > fixed: 1 0; > > rel1.relative: 0.0 0.0; > > rel2.relative: 0.0 1.0; > > } > > } > > ------------------------------------------ > > > b.2) horizontal line relation > > ------------------------------------------ > > part { > > name: "part_horizontal_line"; > > type: RECT; > > description { > > state: "default" 0.0; > > min: 0 100; > > fixed: 0 1; > > rel1.relative: 0.0 0.0; > > rel2.relative: 1.0 0.0; > > } > > } > > ------------------------------------------ > > > c) part's rel1 and rel2 has dot based relation case > > ------------------------------------------ > > part { > > name: "part_horizontal_line"; > > type: RECT; > > description { > > state: "default" 0.0; > > min: 100 100; > > fixed: 1 1; > > rel1.relative: 0.0 0.0; > > rel2.relative: 0.0 0.0; > > } > > } > > ------------------------------------------ > > edje_object_size_min_restricted_calc API calculates the minimum size of the > part. > > and the "fixed" true part can't change its size. > > > Above case's each part size won't be changed even if the whole edje object > is resized. > > So it needs to add "fixed" to reduce unnecessary calculation > of edje_object_size_min_restricted_calc, right? > > > If then, I think edc compiler or edje loader can add the "fixed" rule > automatically without developer concern. > > Or if there are some issue that can't add it automatically, it needs clear > and more easy guide about "fixed" usage for EFL developers :) > > > Thanks. > > _________________________________________________________________ > > KIM, SEUNG-GYUN > > R&D S/W Platform Group SLP Platform Lab. Mobile Communication Division > > Telecommunication Network Business SAMSUNG ELECTRONICS CO.,LTD > TEL +82-31-301-4048 Mobile +82-10-7260-4048 > > E-Mail sgyun....@samsung.com > _________________________________________________________________ > > > [cid:Z5JE7EUABGFC@namo.co.kr] > > [SeenTimeChecker? > do=7038567541a37f785a12ac4a49cecc2230e8e990e6a8050a41e28bf5 > bd706ce42fe50af216eefd44d1b17ce7cdd50431f1bc9e894f4f495bed2705d6268c6898dd8a > aa5ed8b0e8e4326bbdfb2ea96a2fcf878f9a26ce15a0] -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel