mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-05-04 15:15:15 -04:00
Add Album Editing (add / remove photos)
Significant improvements to AlbumDialog - load Existing Photos to the Album - drag and drop add new Photos - mark photos for deletion - publish these changes - color photoitems depending on state Fixed up Top-Level Photo display. - only show latest version of photo (hide deleted) - fixup grouping by "Own / Subscribed / Other" Albums - added Album detail editing using GxsGroupDialog
This commit is contained in:
parent
be4d812df2
commit
5d0e2bb71e
10 changed files with 556 additions and 484 deletions
|
@ -64,6 +64,7 @@ struct RsGxsImage : RsSerializable
|
|||
void copy(uint8_t *data, uint32_t size); // Allocates and Copies.
|
||||
void clear(); // Frees.
|
||||
void shallowClear(); // Clears Pointer.
|
||||
bool empty() const;
|
||||
|
||||
uint32_t mSize;
|
||||
uint8_t* mData;
|
||||
|
|
|
@ -79,6 +79,11 @@ RsGxsImage &RsGxsImage::operator=(const RsGxsImage &a)
|
|||
}
|
||||
|
||||
|
||||
bool RsGxsImage::empty() const
|
||||
{
|
||||
return ((mData == NULL) || (mSize == 0));
|
||||
}
|
||||
|
||||
void RsGxsImage::take(uint8_t *data, uint32_t size)
|
||||
{
|
||||
#ifdef DEBUG_GXSCOMMON
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue