mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-04-10 19:15:13 +00:00
Maybe fix the Linux compile errors
This commit is contained in:
parent
12ee215873
commit
93f850df75
|
@ -24,7 +24,7 @@ public:
|
||||||
void clear();
|
void clear();
|
||||||
|
|
||||||
void setCursor(const T& select);
|
void setCursor(const T& select);
|
||||||
void setCursor(typename const std::vector<Entry>::const_iterator& it);
|
void setCursor(typename std::vector<Entry>::const_iterator& it);
|
||||||
|
|
||||||
inline const T& getSelected() const { return mEntries.at(mCursor).object; }
|
inline const T& getSelected() const { return mEntries.at(mCursor).object; }
|
||||||
inline const std::vector<Entry>& getList() const { return mEntries; }
|
inline const std::vector<Entry>& getList() const { return mEntries; }
|
||||||
|
@ -173,7 +173,7 @@ void ImageGridComponent<T>::setCursor(const T& obj)
|
||||||
}
|
}
|
||||||
|
|
||||||
template<typename T>
|
template<typename T>
|
||||||
void ImageGridComponent<T>::setCursor(typename const std::vector<Entry>::const_iterator& it)
|
void ImageGridComponent<T>::setCursor(typename std::vector<Entry>::const_iterator& it)
|
||||||
{
|
{
|
||||||
assert(it != mEntries.end());
|
assert(it != mEntries.end());
|
||||||
mCursor = it - mEntries.begin();
|
mCursor = it - mEntries.begin();
|
||||||
|
|
|
@ -49,7 +49,7 @@ public:
|
||||||
inline const std::vector<ListRow>& getList() const { return mRowVector; }
|
inline const std::vector<ListRow>& getList() const { return mRowVector; }
|
||||||
|
|
||||||
void setCursor(const T& select);
|
void setCursor(const T& select);
|
||||||
void setCursor(typename const std::vector<ListRow>::const_iterator& it);
|
void setCursor(typename std::vector<ListRow>::const_iterator& it);
|
||||||
|
|
||||||
void stopScrolling();
|
void stopScrolling();
|
||||||
inline bool isScrolling() const { return mScrollDir != 0; }
|
inline bool isScrolling() const { return mScrollDir != 0; }
|
||||||
|
@ -378,7 +378,7 @@ void TextListComponent<T>::setCursor(const T& obj)
|
||||||
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
void TextListComponent<T>::setCursor(typename const std::vector<ListRow>::const_iterator& it)
|
void TextListComponent<T>::setCursor(typename std::vector<ListRow>::const_iterator& it)
|
||||||
{
|
{
|
||||||
assert(it != mRowVector.end());
|
assert(it != mRowVector.end());
|
||||||
mCursor = it - mRowVector.begin();
|
mCursor = it - mRowVector.begin();
|
||||||
|
|
Loading…
Reference in a new issue