mirror of
https://github.com/isledecomp/isle-portable.git
synced 2026-01-11 18:41:14 +00:00
Initial work on isle-config UI stuff
I'm really not sure I have the skills to cleanly implement something like this. I believe that someone else should take over, as I'm not experienced enough in C++ to accomplish this cleanly, or even at all.
This commit is contained in:
parent
6f3f8cbc59
commit
67b1d79c43
@ -955,6 +955,126 @@ The game will gradually increase the number of actors until this maximum is reac
|
||||
<string>Controls</string>
|
||||
</attribute>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_7">
|
||||
<item>
|
||||
<widget class="QGroupBox" name="keyMappings">
|
||||
<property name="enabled">
|
||||
<bool>false</bool>
|
||||
</property>
|
||||
<property name="toolTip">
|
||||
<string>Work-In-Progress, currently non-functional</string>
|
||||
</property>
|
||||
<property name="title">
|
||||
<string>Keyboard Mappings</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" name="gridLayout_5">
|
||||
<item row="0" column="0">
|
||||
<widget class="QLabel" name="forwardKeyLabel">
|
||||
<property name="text">
|
||||
<string>Forward</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="0">
|
||||
<widget class="QLabel" name="backKeyLabel">
|
||||
<property name="text">
|
||||
<string>Back</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0">
|
||||
<widget class="QLabel" name="leftKeyLabel">
|
||||
<property name="text">
|
||||
<string>Left</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="0">
|
||||
<widget class="QLabel" name="rightKeyLabel">
|
||||
<property name="text">
|
||||
<string>Right</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="0">
|
||||
<widget class="QLabel" name="sprintKeyLabel">
|
||||
<property name="text">
|
||||
<string>Sprint</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="1">
|
||||
<widget class="QPushButton" name="keyForward_1">
|
||||
<property name="text">
|
||||
<string>Up</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="2">
|
||||
<widget class="QPushButton" name="keyForward_2">
|
||||
<property name="text">
|
||||
<string>Numpad 8</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="1">
|
||||
<widget class="QPushButton" name="keyBack_1">
|
||||
<property name="text">
|
||||
<string>Down</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="1" column="2">
|
||||
<widget class="QPushButton" name="keyBack_2">
|
||||
<property name="text">
|
||||
<string>Numpad 2</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="1">
|
||||
<widget class="QPushButton" name="keyLeft_1">
|
||||
<property name="text">
|
||||
<string>Left</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="2">
|
||||
<widget class="QPushButton" name="keyLeft_2">
|
||||
<property name="text">
|
||||
<string>Numpad 4</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="1">
|
||||
<widget class="QPushButton" name="keyRight_1">
|
||||
<property name="text">
|
||||
<string>Right</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="3" column="2">
|
||||
<widget class="QPushButton" name="keyRight_2">
|
||||
<property name="text">
|
||||
<string>Numpad 6</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="1">
|
||||
<widget class="QPushButton" name="keySprint_1">
|
||||
<property name="text">
|
||||
<string>Left Control</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="4" column="2">
|
||||
<widget class="QPushButton" name="keySprint_2">
|
||||
<property name="text">
|
||||
<string>Right Control</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="touchControl">
|
||||
<property name="toolTip">
|
||||
@ -1035,8 +1155,8 @@ The game will gradually increase the number of actors until this maximum is reac
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>449</width>
|
||||
<height>369</height>
|
||||
<width>217</width>
|
||||
<height>217</height>
|
||||
</rect>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" name="verticalLayout_10">
|
||||
@ -1326,6 +1446,16 @@ Double-click a path to edit it.</string>
|
||||
<tabstop>exFullResComboBox</tabstop>
|
||||
<tabstop>msaaSlider</tabstop>
|
||||
<tabstop>AFSlider</tabstop>
|
||||
<tabstop>keyForward_1</tabstop>
|
||||
<tabstop>keyForward_2</tabstop>
|
||||
<tabstop>keyBack_1</tabstop>
|
||||
<tabstop>keyBack_2</tabstop>
|
||||
<tabstop>keyLeft_1</tabstop>
|
||||
<tabstop>keyLeft_2</tabstop>
|
||||
<tabstop>keyRight_1</tabstop>
|
||||
<tabstop>keyRight_2</tabstop>
|
||||
<tabstop>keySprint_1</tabstop>
|
||||
<tabstop>keySprint_2</tabstop>
|
||||
<tabstop>touchComboBox</tabstop>
|
||||
<tabstop>rumbleCheckBox</tabstop>
|
||||
<tabstop>scrollArea</tabstop>
|
||||
|
||||
@ -45,6 +45,7 @@
|
||||
#define SDL_MAIN_USE_CALLBACKS
|
||||
#include <SDL3/SDL.h>
|
||||
#include <SDL3/SDL_main.h>
|
||||
#include <SDL3/SDL_scancode.h>
|
||||
#include <errno.h>
|
||||
#include <iniparser.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user