mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-13 13:37:04 +00:00
Auto resize last column (#265)
This commit is contained in:
parent
00968acc1d
commit
551f821109
5 changed files with 185 additions and 113 deletions
|
|
@ -53,7 +53,7 @@ public:
|
|||
|
||||
long FindListItemByTitleId(uint64 title_id) const;
|
||||
void OnClose(wxCloseEvent& event);
|
||||
|
||||
|
||||
private:
|
||||
std::atomic_bool m_exit = false;
|
||||
Style m_style;
|
||||
|
|
@ -74,7 +74,8 @@ private:
|
|||
ColumnGameTime,
|
||||
ColumnGameStarted,
|
||||
ColumnRegion,
|
||||
ColumnFavorite
|
||||
//ColumnFavorite,
|
||||
ColumnCounts
|
||||
};
|
||||
|
||||
int s_last_column = ColumnName;
|
||||
|
|
@ -143,6 +144,10 @@ private:
|
|||
void OnMouseMove(wxMouseEvent& event);
|
||||
void OnLeaveWindow(wxMouseEvent& event);
|
||||
|
||||
void OnGameListSize(wxSizeEvent& event);
|
||||
void AdjustLastColumnWidth();
|
||||
int GetColumnDefaultWidth(int column);
|
||||
|
||||
static inline std::once_flag s_launch_file_once;
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue