mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-07-25 23:38:49 -04:00
* [EGD-2799]
Added unread thread indicator.
Added last message in thread indicators:
-Note sent:
-You:
-Draft:
25 lines
650 B
C++
25 lines
650 B
C++
#pragma once
|
|
|
|
#include "Label.hpp"
|
|
#include "Image.hpp"
|
|
#include "ListItem.hpp"
|
|
|
|
namespace gui
|
|
{
|
|
class BaseThreadItem : public ListItem
|
|
{
|
|
|
|
protected:
|
|
gui::Label *contact = nullptr;
|
|
gui::Label *timestamp = nullptr;
|
|
gui::Label *preview = nullptr;
|
|
|
|
virtual void onDimensionChangedTop(const BoundingBox &oldDim, const BoundingBox &newDim);
|
|
virtual void onDimensionChangedBottom(const BoundingBox &oldDim, const BoundingBox &newDim);
|
|
|
|
public:
|
|
BaseThreadItem();
|
|
bool onDimensionChanged(const BoundingBox &oldDim, const BoundingBox &newDim) override;
|
|
};
|
|
} // namespace gui
|