Skip to content

Commit abdbd25

Browse files
committed
CSS is dropped in order to use the system theme.
A new icon is created. The launch dialog is changed. Dialogs now have a parent window.
1 parent e179e16 commit abdbd25

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

59 files changed

+1071
-1300
lines changed

Makefile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,8 @@ HttpConnector.o\
66
NotificationManager.o\
77
SerialProcessExecutor.o SerialProcess.o ElasticsearchProcess.o ParseDirectoryProcess.o DownloadGameImagesProcess.o\
88
Asset.o MainWindow.o UiThreadBridge.o UiUtils.o\
9-
Dialog.o MessageDialog.o PlatformDialog.o GameDialog.o DevelopersSelectDialog.o PublishersSelectDialog.o GenresSelectDialog.o GameSearchDialog.o LaunchDialog.o AddDirectoryDialog.o\
9+
Dialog.o MessageDialog.o PlatformDialog.o GameDialog.o DevelopersSelectDialog.o PublishersSelectDialog.o GenresSelectDialog.o GameSearchDialog.o AddDirectoryDialog.o GameDetailDialog.o\
1010
Panel.o HomePanel.o PlatformPanel.o FirstSetupPanel.o\
11-
Widget.o GameDetailWidget.o\
1211
FileExtractor.o\
1312

1413

@@ -24,14 +23,14 @@ ASSETSDIR=assets
2423
INSTALLBINDIR=/usr/bin
2524
INSTALLASSETSDIR=/usr/share/$(BIN)
2625
BUILDH=Build.h
27-
VERSION=0.2
26+
VERSION=0.3
2827

2928
$(BIN) : $(OBJS)
3029
$(CC) $(OBJS) $(LFLAGS) $(GTKFLAGS) -o $(BIN)
3130

3231
$(OBJS):
3332
sed s/{BUILD_VERSION}/$(VERSION)/ < $(BUILDH).template > $(SRCDIR)/$(BUILDH)
34-
$(CC) $(CFLAGS) $(GTKFLAGS) -I$(SRCDIR) -I$(SRCDIR)/data -I$(SRCDIR)/data/thegamesdb -I$(SRCDIR)/file -I$(SRCDIR)/launcher -I$(SRCDIR)/network -I$(SRCDIR)/serialprocesses -I$(SRCDIR)/notifications -I$(SRCDIR)/ui -I$(SRCDIR)/ui/dialogs -I$(SRCDIR)/ui/panels -I$(SRCDIR)/ui/widgets $(SRCDIR)/*.cpp $(SRCDIR)/data/*.cpp $(SRCDIR)/data/thegamesdb/*.cpp $(SRCDIR)/file/*.cpp $(SRCDIR)/launcher/*.cpp $(SRCDIR)/network/*.cpp $(SRCDIR)/serialprocesses/*.cpp $(SRCDIR)/notifications/*.cpp $(SRCDIR)/ui/*.cpp $(SRCDIR)/ui/dialogs/*.cpp $(SRCDIR)/ui/panels/*.cpp $(SRCDIR)/ui/widgets/*.cpp
33+
$(CC) $(CFLAGS) $(GTKFLAGS) -I$(SRCDIR) -I$(SRCDIR)/data -I$(SRCDIR)/data/thegamesdb -I$(SRCDIR)/file -I$(SRCDIR)/launcher -I$(SRCDIR)/network -I$(SRCDIR)/serialprocesses -I$(SRCDIR)/notifications -I$(SRCDIR)/ui -I$(SRCDIR)/ui/dialogs -I$(SRCDIR)/ui/panels $(SRCDIR)/*.cpp $(SRCDIR)/data/*.cpp $(SRCDIR)/data/thegamesdb/*.cpp $(SRCDIR)/file/*.cpp $(SRCDIR)/launcher/*.cpp $(SRCDIR)/network/*.cpp $(SRCDIR)/serialprocesses/*.cpp $(SRCDIR)/notifications/*.cpp $(SRCDIR)/ui/*.cpp $(SRCDIR)/ui/dialogs/*.cpp $(SRCDIR)/ui/panels/*.cpp
3534

3635
clean:
3736
rm -f *.o *~ $(SRCDIR)/*~ $(ASSETSDIR)/*~ $(UIIMGDIR)/*~ $(BIN) $(BIN).desktop $(SRCDIR)/$(BUILDH)

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# EMU-nexus
22

3-
EMU-nexus is a front-end designed to launch emulators and to organize ROM collections, but it can be used to launch any program. It is developed in C++ and it uses GTK3 as graphical user interface. It does not try to compete with any other front-end. It is not designed for an HTPC, it is intended to be used in an everyday not specific purpose PC.
3+
EMU-nexus is a front-end designed to launch emulators and to organize ROM collections. It is developed in C++ and it uses GTK3 as graphical user interface. It does not try to compete with any other front-end. It is not designed for an HTPC, it is intended to be used in an everyday not specific purpose PC. It is distributed under the GPLv3 license.
44

55

66
The information about consoles, systems and games comes from TheGamesDB. To avoid stress on TheGamesDB servers, a concise version of the database is processed in the cloud. This concise version is updated regularly and downloaded automatically by EMU-nexus.
@@ -17,9 +17,7 @@ EMU-nexus stores all its data in $HOME/.config/emu-nexus/. Inside this directory
1717
* emu-nexus.sqlite SQLite database containing the data of your collection.
1818

1919

20-
21-
EMU-nexus is distributed under the GPLv3 license.
22-
20+
ROM files could be uncompressed on the go. The uncompressed files are stored in cache so they can be used directly next time. Zip and 7zip formats are supported.
2321

2422

2523
EMU-nexus source code is available in its Github repository. These are the libraries on which EMU-nexus was built:

assets/css/dark.css

Lines changed: 43 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -10,54 +10,64 @@ and open the template in the editor.
1010

1111
window{
1212
background-color: #353b44;
13+
border-color: transparent;
1314
}
1415

15-
dialog{
16-
background-color: #353b44;
16+
headerbar{
17+
padding: 10px;
18+
background: #353b44;
19+
border-color: transparent;
1720
}
1821

19-
dialog button{
22+
headerbar button{
2023
background: #252930;
2124
border: #252930;
25+
border-color: transparent;
2226
}
2327

24-
dialog button:active{
28+
headerbar button:active{
2529
background: #5e6e87;
2630
border: #5e6e87;
31+
border-color: transparent;
2732
}
2833

29-
box button{
30-
background: #252930;
31-
border: #252930;
34+
headerbar button label{
35+
color: white;
3236
}
3337

34-
box button:active{
35-
background: #5e6e87;
36-
border: #5e6e87;
38+
headerbar label{
39+
color: #5e6e87;
3740
}
3841

39-
headerbar button{
42+
dialog{
43+
background-color: #353b44;
44+
border-color: transparent;
45+
}
46+
47+
dialog button{
4048
background: #252930;
4149
border: #252930;
50+
border-color: transparent;
4251
}
4352

44-
headerbar button:active{
53+
dialog button:active{
4554
background: #5e6e87;
4655
border: #5e6e87;
56+
border-color: transparent;
4757
}
4858

49-
headerbar button label{
50-
color: white;
59+
box button{
60+
background: #252930;
61+
border: #252930;
62+
border-color: transparent;
5163
}
5264

53-
headerbar label{
54-
color: #5e6e87;
65+
box button:active{
66+
background: #5e6e87;
67+
border: #5e6e87;
68+
border-color: transparent;
5569
}
5670

57-
/*headerbar{
58-
background: black;
59-
}*/
60-
6171
entry{
6272
background: #252a30;
6373
border: #252a30;
@@ -84,6 +94,14 @@ scrolledwindow{
8494
border-color: transparent;
8595
}
8696

97+
scrollbar {
98+
background-color: transparent;
99+
}
100+
101+
slider {
102+
background-color: #475366;
103+
}
104+
87105
list{
88106
background-color: #252a30;
89107
}
@@ -183,7 +201,11 @@ box#homeBox{
183201
background-color: #252a30;
184202
}
185203

204+
box#overlayBox{
205+
background-color: red;
206+
}
207+
186208
menu{
187209
background: #252930;
188210
color: white;
189-
}
211+
}

assets/home.pml

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
1-
<span size="large"><b>EMU-nexus</b> is a front-end designed to launch emulators and to organize ROM collections, but it can be used to launch any program. It is developed in C++ and it uses GTK3 as graphical user interface. It does not try to compete with any other front-end. It is not designed for an HTPC, it is intended to be used in an everyday not specific purpose PC.</span>
1+
<span size="large"><b>EMU-nexus</b> is a front-end designed to launch emulators and to organize ROM collections. It is developed in C++ and it uses GTK 3 as graphical user interface. It does not try to compete with any other front-end and it is not designed for an HTPC. It is intended to be used in an everyday not specific purpose PC. It is distributed under the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPLv3 license</a>.</span>
22

33

4-
<span size="large">The information about consoles, systems and games comes from <a href="https://thegamesdb.net/">TheGamesDB</a>. To avoid stress on TheGamesDB servers, a concise version of the database is processed in the cloud. This concise version is updated regularly and downloaded automatically by <b>EMU-nexus</b>.</span>
4+
<span size="large">The information about consoles, systems and games comes from <a href="https://thegamesdb.net/">TheGamesDB</a>. To avoid stress on TheGamesDB servers, a concise version of the database is processed in the cloud. This concise version is updated regularly and downloaded automatically.</span>
55

66

77
<span size="large">The concise version of the database is stored and indexed using <a href="https://www.elastic.co/downloads/elasticsearch-oss">Elasticsearch</a> so it can be easily searchable. When <b>EMU-nexus</b> is launched, it starts the Elasticsearch process in the background. By default, Elasticsearch listens in the port 9301. The <a href="https://www.apache.org/licenses/LICENSE-2.0">Apache 2.0</a> licensed version of Elasticseach is used.</span>
88

9+
<span size="large">ROM files could be uncompressed on the go. The uncompressed files are stored in cache so they can be used directly next time. Zip and 7zip formats are supported.</span>
910

1011
<span size="large"><b>EMU-nexus</b> stores all its data in <i>$HOME/.config/emu-nexus/</i>. Inside this directory, you will find the next items:</span>
1112

@@ -15,16 +16,11 @@
1516
<span size="large"> * <i>emu-nexus.sqlite</i> SQLite database containing the data of your collection.</span>
1617

1718

18-
19-
<span size="large"><b>EMU-nexus</b> is distributed under the <a href="https://www.gnu.org/licenses/gpl-3.0.en.html">GPLv3 license</a>.</span>
20-
21-
22-
2319
<span size="large"><b>EMU-nexus</b> source code is available in its <a href="https://github.com/ramzeto/emu-nexus">Github repository</a>. These are the libraries on which <b>EMU-nexus</b> was built:</span>
2420

25-
<span size="large"> * <a href="http://www.digip.org/jansson/"><i>Jansson</i></a> Library for encoding, decoding and manipulating JSON data. It used to process the Elasticseach responses.</span>
26-
<span size="large"> * <a href="https://www.sqlite.org/index.html"><i>SQLite</i></a> SQL database engine. Used for managing your collection data.</span>
27-
<span size="large"> * <a href="https://curl.haxx.se/libcurl/"><i>cURL</i></a> Free and easy-to-use client-side URL transfer library. Used for making HTTP requests to Elasticsearch, download images and the concise version of TheGamesDB database (A libcurl version with SSL support is required).</span>
21+
<span size="large"> * <a href="http://www.digip.org/jansson/"><i>Jansson</i></a> Library for encoding, decoding and manipulating JSON data. It is used to process the Elasticseach responses.</span>
22+
<span size="large"> * <a href="https://www.sqlite.org/index.html"><i>SQLite</i></a> SQL database engine. Is used for managing your collection data.</span>
23+
<span size="large"> * <a href="https://curl.haxx.se/libcurl/"><i>cURL</i></a> Free and easy-to-use client-side URL transfer library. Used for making HTTP requests (a libcurl version with SSL support is required).</span>
2824
<span size="large"> * <a href="http://man7.org/linux/man-pages/man7/pthreads.7.html"><i>pthread (POSIX thread)</i></a> Set of interfaces (functions, header files) for threaded programming. <b>EMU-nexus</b> uses multiple threads to smooth its performance.</span>
2925
<span size="large"> * <a href="http://www.xmlsoft.org/"><i>libxml2</i></a> XML C parser and toolkit developed for the Gnome project. Used to process MAME response data when processing ROMs that use MAME file names.</span>
3026
<span size="large"> * <a href="http://dlib.net/"><i>Dlib</i></a> Modern C++ toolkit containing machine learning algorithms and tools for creating complex software in C++ to solve real world problems. <b>EMU-nexus</b> only uses a small set of Dlib to create thumbnails of the platforms and games artwork.</span>
@@ -33,3 +29,4 @@
3329
<span size="large"> * <a href="https://www.gtk.org/"><i>gtk+ 3</i></a> Multi-platform toolkit for creating graphical user interfaces.</span>
3430

3531

32+
<span size="large">The icon is based in the work of <a href="https://www.flaticon.com/authors/pixel-perfect">Pixel perfect</a>.</span>

assets/images/document.png

-2.11 KB
Binary file not shown.

assets/images/downloading.png

-4.04 KB
Binary file not shown.

0 commit comments

Comments
 (0)