HomePhabricator

efl_ui_position_manager: only fill as many items as we need

Authored by Marcel Hollerbach <mail@marcel-hollerbach.de> on Aug 27 2019, 10:00 AM.

Description

efl_ui_position_manager: only fill as many items as we need

prior to this commit, we just passed the start_id and the end_id the
end_id was the start_id plus the size of the memory buffer. However,
making this depending on the size of the memory buffer is a bad idea, as
changing it based on our needs is rather painfull.

With this commit we have explicit passing of the start_id, end_id and
memory len. This is kind of redundant, however, its very convenient, and
easy to write. The buffer will be filled with the maximum size that is
possible with length of the buffer, however, the end_id will not be
filled anymore.

Differential Revision: https://phab.enlightenment.org/D9756

Marcel Hollerbach <mail@marcel-hollerbach.de> committed rEFL6e23dfba625c: efl_ui_position_manager: only fill as many items as we need (authored by Marcel Hollerbach <mail@marcel-hollerbach.de>).Sep 10 2019, 12:10 AM