-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- added Auto Audio Language Selection - added Image Controls - added Audio Controls - changed USB device list aspect - fixed empty folder crash
- Loading branch information
1 parent
40a4160
commit fb55467
Showing
31 changed files
with
2,025 additions
and
1,228 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,21 @@ | ||
#ifndef NXMP_APPPOPUPS_H | ||
#define NXMP_APPPOPUPS_H | ||
|
||
#include "imgui.h" | ||
|
||
namespace Popups { | ||
inline void SetupPopup(const char *id) { | ||
ImGui::OpenPopup(id); | ||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(15, 15)); | ||
ImGui::SetNextWindowPos(ImVec2(640.0f, 360.0f), ImGuiCond_Appearing, ImVec2(0.5f, 0.5f)); | ||
}; | ||
|
||
inline void ExitPopup(void) { | ||
ImGui::EndPopup(); | ||
ImGui::PopStyleVar(); | ||
}; | ||
|
||
void SaveSettingsPopup(void); | ||
} | ||
|
||
#ifndef NXMP_APPPOPUPS_H | ||
#define NXMP_APPPOPUPS_H | ||
|
||
#include "imgui.h" | ||
|
||
namespace Popups { | ||
inline void SetupPopup(const char *id) { | ||
ImGui::OpenPopup(id); | ||
ImGui::PushStyleVar(ImGuiStyleVar_WindowPadding, ImVec2(15, 15)); | ||
ImGui::SetNextWindowPos(ImVec2(640.0f, 360.0f), ImGuiCond_Appearing, ImVec2(0.5f, 0.5f)); | ||
}; | ||
|
||
inline void ExitPopup(void) { | ||
ImGui::EndPopup(); | ||
ImGui::PopStyleVar(); | ||
}; | ||
|
||
void SaveSettingsPopup(void); | ||
} | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,53 @@ | ||
#ifndef NXMP_CONFIG_H | ||
#define NXMP_CONFIG_H | ||
|
||
#include <string> | ||
#include <vector> | ||
#include "SimpleIni.h" | ||
|
||
struct networkSource{ | ||
std::string name; | ||
std::string url; | ||
}; | ||
|
||
class Config{ | ||
public: | ||
Config(std::string inifile); | ||
std::vector<networkSource> getNetworks(); | ||
std::string getEnigma(); | ||
std::string getStartPath(); | ||
|
||
int getLongSeek(bool tmpvalue); | ||
int getShortSeek(bool tmpvalue); | ||
|
||
void setLongSeek(int seektime); | ||
void setShortSeek(int seektime); | ||
|
||
void saveSettings(); | ||
|
||
std::vector<std::string> topmenu; | ||
CSimpleIniA *ini; | ||
|
||
private: | ||
int shortseek; | ||
int longseek; | ||
|
||
int tmpshortseek; | ||
int tmplongseek; | ||
|
||
std::string inifilePath; | ||
}; | ||
|
||
|
||
#ifndef NXMP_CONFIG_H | ||
#define NXMP_CONFIG_H | ||
|
||
#include <string> | ||
#include <vector> | ||
#include "SimpleIni.h" | ||
|
||
struct networkSource{ | ||
std::string name; | ||
std::string url; | ||
}; | ||
|
||
class Config{ | ||
public: | ||
Config(std::string inifile); | ||
std::vector<networkSource> getNetworks(); | ||
std::string getEnigma(); | ||
std::string getStartPath(); | ||
|
||
int getLongSeek(bool tmpvalue); | ||
int getShortSeek(bool tmpvalue); | ||
|
||
void setLongSeek(int seektime); | ||
void setShortSeek(int seektime); | ||
|
||
bool getUseAlang(bool tmpvalue); | ||
void setUseAlang(bool _val); | ||
int getAlang(bool tmpvalue); | ||
void setAlang(int lang); | ||
|
||
void saveSettings(); | ||
|
||
std::vector<std::string> topmenu; | ||
CSimpleIniA *ini; | ||
|
||
private: | ||
int shortseek; | ||
int longseek; | ||
|
||
int tmpshortseek; | ||
int tmplongseek; | ||
|
||
bool tmpusealang; | ||
bool usealang; | ||
|
||
int tmpalang; | ||
int alang; | ||
|
||
std::string inifilePath; | ||
}; | ||
|
||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.