2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-08-31 14:38:15 +00:00

inline gif view done, some design improvements, version 0.6.3

This commit is contained in:
John Preston
2014-10-10 16:46:20 +04:00
parent 3009200b76
commit 09e2fbaa6b
29 changed files with 548 additions and 195 deletions

View File

@@ -58,6 +58,8 @@ public:
void mediaOverviewUpdated();
void changingMsgId(HistoryItem *row, MsgId newId);
void msgUpdated(const HistoryItem *msg);
void itemRemoved(HistoryItem *item);
void itemResized(HistoryItem *item);
void getSelectionState(int32 &selectedForForward, int32 &selectedForDelete) const;
void clearSelectedItems(bool onlyTextSelection = false);
@@ -84,8 +86,6 @@ public slots:
void onTouchSelect();
void onTouchScrollTimer();
void itemRemoved(HistoryItem *item);
private:
void fixItemIndex(int32 &current, MsgId msgId) const;
@@ -102,10 +102,6 @@ private:
void touchUpdateSpeed();
void touchDeaccelerate(int32 elapsed);
//void adjustCurrent(int32 y);
//HistoryItem *prevItem(HistoryItem *item);
//HistoryItem *nextItem(HistoryItem *item);
//void updateDragSelection(HistoryItem *dragSelFrom, HistoryItem *dragSelTo, bool dragSelecting, bool force = false);
void applyDragSelection();
QPixmap genPix(PhotoData *photo, int32 size);
@@ -214,6 +210,8 @@ public:
void mediaOverviewUpdated(PeerData *peer);
void changingMsgId(HistoryItem *row, MsgId newId);
void msgUpdated(PeerId peer, const HistoryItem *msg);
void itemRemoved(HistoryItem *item);
void itemResized(HistoryItem *row);
QPoint clampMousePosition(QPoint point);