mirror of
https://git.eden-emu.dev/eden-emu/eden.git
synced 2025-07-23 01:35:46 +00:00
configuration: Implement slider
This commit is contained in:
parent
e40f887355
commit
f9310ec1e8
7 changed files with 188 additions and 71 deletions
|
@ -48,14 +48,16 @@ enum class RequestType {
|
|||
ComboBox,
|
||||
SpinBox,
|
||||
Slider,
|
||||
ReverseSlider,
|
||||
LineEdit,
|
||||
MaxEnum,
|
||||
};
|
||||
|
||||
std::tuple<QWidget*, void*, QPushButton*> CreateWidget(
|
||||
Settings::BasicSetting* setting, const TranslationMap& translations, QWidget* parent,
|
||||
bool runtime_lock, std::forward_list<std::function<void(bool)>>& apply_funcs,
|
||||
std::list<CheckState>& trackers, RequestType request = RequestType::Default,
|
||||
bool managed = true);
|
||||
RequestType request = RequestType::Default, bool managed = true, float multiplier = 1.0f,
|
||||
const std::string& text_box_default = "");
|
||||
|
||||
// Global-aware apply and set functions
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue