mirror of
https://github.com/FunKey-Project/RetroFE.git
synced 2026-01-28 02:35:23 +01:00
Fixing compiler warnings for linux
This commit is contained in:
parent
17a3ecd97f
commit
1c3758499a
@ -32,8 +32,8 @@ public:
|
||||
CollectionInfo *BuildCollection(std::string collectionName);
|
||||
|
||||
private:
|
||||
Configuration &Conf;
|
||||
MetadataDatabase &MetaDB;
|
||||
bool ImportBasicList(CollectionInfo *info, std::string file, std::map<std::string, Item *> &list);
|
||||
bool ImportDirectory(CollectionInfo *info);
|
||||
Configuration &Conf;
|
||||
};
|
||||
|
||||
@ -30,7 +30,7 @@ public:
|
||||
}
|
||||
|
||||
private:
|
||||
sqlite3 *Handle;
|
||||
std::string Path;
|
||||
sqlite3 *Handle;
|
||||
};
|
||||
|
||||
|
||||
@ -33,11 +33,12 @@ ReloadableMedia::ReloadableMedia(Configuration &config, std::string type, bool i
|
||||
, LoadedComponent(NULL)
|
||||
, ReloadRequested(false)
|
||||
, FirstLoad(true)
|
||||
, Type(type)
|
||||
, VideoInst(NULL)
|
||||
, IsVideo(isVideo)
|
||||
, FontInst(font)
|
||||
, FontColor(fontColor)
|
||||
, TextFallback(false)
|
||||
, Type(type)
|
||||
, ScaleX(scaleX)
|
||||
, ScaleY(scaleY)
|
||||
{
|
||||
|
||||
@ -49,6 +49,7 @@ ScrollingList::ScrollingList(Configuration &c,
|
||||
, ScrollPoints(NULL)
|
||||
, TweenPoints(NULL)
|
||||
, TweenEnterTime(0)
|
||||
, Focus(false)
|
||||
, FirstSpriteIndex(0)
|
||||
, SelectedSpriteListIndex(0)
|
||||
, ScrollStopRequested(true)
|
||||
@ -66,7 +67,6 @@ ScrollingList::ScrollingList(Configuration &c,
|
||||
, FontColor(fontColor)
|
||||
, LayoutKey(layoutKey)
|
||||
, ImageType(imageType)
|
||||
, Focus(false)
|
||||
{
|
||||
}
|
||||
|
||||
@ -74,6 +74,7 @@ ScrollingList::ScrollingList(const ScrollingList ©)
|
||||
: Component(copy)
|
||||
, SpriteList(NULL)
|
||||
, TweenEnterTime(0)
|
||||
, Focus(false)
|
||||
, FirstSpriteIndex(0)
|
||||
, SelectedSpriteListIndex(0)
|
||||
, ScrollStopRequested(true)
|
||||
@ -91,7 +92,6 @@ ScrollingList::ScrollingList(const ScrollingList ©)
|
||||
, FontColor(copy.FontColor)
|
||||
, LayoutKey(copy.LayoutKey)
|
||||
, ImageType(copy.ImageType)
|
||||
, Focus(false)
|
||||
{
|
||||
|
||||
ScrollPoints = NULL;
|
||||
@ -467,7 +467,6 @@ void ScrollingList::TriggerMenuExitEvent()
|
||||
|
||||
void ScrollingList::Update(float dt)
|
||||
{
|
||||
bool initializePoints = false;
|
||||
Component::Update(dt);
|
||||
|
||||
if(!ScrollPoints)
|
||||
@ -512,7 +511,6 @@ void ScrollingList::Update(float dt)
|
||||
// check to see if requested to scroll
|
||||
if(RequestedScrollDirection != ScrollDirectionIdle)
|
||||
{
|
||||
initializePoints = true;
|
||||
CurrentScrollState = ScrollStateActive;
|
||||
CurrentScrollDirection = RequestedScrollDirection;
|
||||
scrollRequested = true;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user