Add __is_valid_picture_index() and Apply color for dlog 25/235625/8
authorhj kim <backto.kim@samsung.com>
Mon, 8 Jun 2020 06:49:46 +0000 (15:49 +0900)
committerhj kim <backto.kim@samsung.com>
Tue, 9 Jun 2020 00:12:56 +0000 (09:12 +0900)
commitb846b91ddda5b7c50e7574db936dccc4f2bea569
tree917385210723f2bcd45eba374ddda20897998328
parentdf1f569c5ecf9799bdd44e8843f2731b3209d05f
Add __is_valid_picture_index() and Apply color for dlog

to get or remove picuture, functions should check picture index.
similar picture index checking codes were duplicated for each funtions, so unified them into __is_valid_picture_index().

Change-Id: I06debb6c390aa85ab8d39e34b363d8829bee20e7
include/metadata_editor_private.h
src/metadata_editor.cpp