mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-27 21:35:24 +00:00
Renamed the launcher executable and icons, added .desktop file and default config, modified/updated some other files
This commit is contained in:
parent
8b58e53be9
commit
118765a274
@ -45,7 +45,7 @@ QT4_WRAP_CPP(MOC_SRCS ${LAUNCHER_HEADER_MOC})
|
||||
include(${QT_USE_FILE})
|
||||
|
||||
# Main executable
|
||||
add_executable(launcher
|
||||
add_executable(omwlauncher
|
||||
${LAUNCHER}
|
||||
${MISC} ${MISC_HEADER}
|
||||
${FILES} ${FILES_HEADER}
|
||||
@ -55,11 +55,14 @@ add_executable(launcher
|
||||
${MOC_SRCS}
|
||||
)
|
||||
|
||||
target_link_libraries(launcher
|
||||
target_link_libraries(omwlauncher
|
||||
${Boost_LIBRARIES}
|
||||
${OGRE_LIBRARIES}
|
||||
${QT_LIBRARIES}
|
||||
)
|
||||
|
||||
configure_file(${CMAKE_SOURCE_DIR}/files/launcher.qss
|
||||
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.qss")
|
||||
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.qss")
|
||||
|
||||
configure_file(${CMAKE_SOURCE_DIR}/files/launcher.cfg
|
||||
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/launcher.cfg")
|
@ -1,23 +1,30 @@
|
||||
######################################################################
|
||||
# Automatically generated by qmake (2.01a) Tue Mar 29 22:56:27 2011
|
||||
# Automatically generated by qmake (2.01a) Fri Jun 24 21:14:15 2011
|
||||
######################################################################
|
||||
|
||||
TEMPLATE = app
|
||||
TARGET =
|
||||
TARGET =
|
||||
DEPENDPATH += .
|
||||
INCLUDEPATH += .
|
||||
|
||||
# Input
|
||||
HEADERS += datafilespage.hpp \
|
||||
HEADERS += combobox.hpp \
|
||||
datafilespage.hpp \
|
||||
graphicspage.hpp \
|
||||
lineedit.hpp \
|
||||
maindialog.hpp \
|
||||
playpage.hpp
|
||||
|
||||
naturalsort.hpp \
|
||||
playpage.hpp \
|
||||
pluginsmodel.hpp \
|
||||
pluginsview.hpp
|
||||
SOURCES += datafilespage.cpp \
|
||||
graphicspage.cpp \
|
||||
lineedit.cpp \
|
||||
main.cpp \
|
||||
maindialog.cpp \
|
||||
playpage.cpp
|
||||
qrc_resources.cxx
|
||||
|
||||
naturalsort.cpp \
|
||||
playpage.cpp \
|
||||
pluginsmodel.cpp \
|
||||
pluginsview.cpp
|
||||
RESOURCES += resources.qrc
|
||||
RC_FILE = launcher.rc
|
||||
win32:RC_FILE = launcher.rc
|
@ -1 +1 @@
|
||||
IDI_ICON1 ICON DISCARDABLE "resources/images/openmw-icon.ico"
|
||||
IDI_ICON1 ICON DISCARDABLE "resources/images/openmw.ico"
|
||||
|
@ -42,7 +42,7 @@ MainDialog::MainDialog()
|
||||
|
||||
|
||||
setWindowTitle(tr("OpenMW Launcher"));
|
||||
setWindowIcon(QIcon(":/images/openmw-icon.png"));
|
||||
setWindowIcon(QIcon(":/images/openmw.png"));
|
||||
// Remove what's this? button
|
||||
setWindowFlags(this->windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
setMinimumSize(QSize(575, 575));
|
||||
@ -65,7 +65,7 @@ void MainDialog::createIcons()
|
||||
QIcon graphicsIcon = QIcon(":/icons/tango/video-display.png");
|
||||
|
||||
QListWidgetItem *playButton = new QListWidgetItem(mIconWidget);
|
||||
playButton->setIcon(QIcon(":/images/openmw-icon.png"));
|
||||
playButton->setIcon(QIcon(":/images/openmw.png"));
|
||||
playButton->setText(tr("Play"));
|
||||
playButton->setTextAlignment(Qt::AlignCenter);
|
||||
playButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
||||
@ -77,7 +77,7 @@ void MainDialog::createIcons()
|
||||
graphicsButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
||||
|
||||
QListWidgetItem *dataFilesButton = new QListWidgetItem(mIconWidget);
|
||||
dataFilesButton->setIcon(QIcon(":/images/openmw-plugin-icon.png"));
|
||||
dataFilesButton->setIcon(QIcon(":/images/openmw-plugin.png"));
|
||||
dataFilesButton->setText(tr("Data Files"));
|
||||
dataFilesButton->setTextAlignment(Qt::AlignHCenter | Qt::AlignBottom);
|
||||
dataFilesButton->setFlags(Qt::ItemIsSelectable | Qt::ItemIsEnabled);
|
||||
|
@ -2,8 +2,8 @@
|
||||
<qresource prefix="/images">
|
||||
<file alias="clear.png">resources/images/clear.png</file>
|
||||
<file alias="down.png">resources/images/down.png</file>
|
||||
<file alias="openmw-icon.png">resources/images/openmw-icon.png</file>
|
||||
<file alias="openmw-plugin-icon.png">resources/images/openmw-plugin-icon.png</file>
|
||||
<file alias="openmw.png">resources/images/openmw.png</file>
|
||||
<file alias="openmw-plugin.png">resources/images/openmw-plugin.png</file>
|
||||
<file alias="openmw-header.png">resources/images/openmw-header.png</file>
|
||||
<file alias="playpage-background.png">resources/images/playpage-background.png</file>
|
||||
</qresource>
|
||||
|
Before Width: | Height: | Size: 6.4 KiB After Width: | Height: | Size: 6.4 KiB |
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 60 KiB |
Before Width: | Height: | Size: 59 KiB After Width: | Height: | Size: 59 KiB |
5
files/launcher.cfg
Normal file
5
files/launcher.cfg
Normal file
@ -0,0 +1,5 @@
|
||||
[Profiles]
|
||||
CurrentProfile=Default
|
||||
Default\Master0=Morrowind.esm
|
||||
Default\Master1=Tribunal.esm
|
||||
Default\Master2=Bloodmoon.esm
|
10
files/openmw.desktop
Normal file
10
files/openmw.desktop
Normal file
@ -0,0 +1,10 @@
|
||||
[Desktop Entry]
|
||||
Version=0.11
|
||||
Type=Application
|
||||
Name=OpenMW Launcher
|
||||
GenericName=Role Playing Game
|
||||
Comment=An engine replacement for The Elder Scrolls III: Morrowind
|
||||
TryExec=omwlauncher
|
||||
Exec=omwlauncher
|
||||
Icon=openmw
|
||||
Categories=Game;RolePlaying;
|
Loading…
x
Reference in New Issue
Block a user