mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CComponents: move class into its own source directory
The components could over time become quite large, so it makes more sense, coming features to split into multiple files and to do it in a separate directory.
This commit is contained in:
@@ -191,6 +191,7 @@ src/driver/audiodec/Makefile
|
|||||||
src/driver/Makefile
|
src/driver/Makefile
|
||||||
src/gui/Makefile
|
src/gui/Makefile
|
||||||
src/gui/bedit/Makefile
|
src/gui/bedit/Makefile
|
||||||
|
src/gui/components/Makefile
|
||||||
src/gui/widget/Makefile
|
src/gui/widget/Makefile
|
||||||
src/system/Makefile
|
src/system/Makefile
|
||||||
data/Makefile
|
data/Makefile
|
||||||
|
@@ -56,6 +56,7 @@ endif
|
|||||||
neutrino_LDADD = \
|
neutrino_LDADD = \
|
||||||
daemonc/libneutrino_daemonc.a \
|
daemonc/libneutrino_daemonc.a \
|
||||||
gui/bedit/libneutrino_gui_bedit.a \
|
gui/bedit/libneutrino_gui_bedit.a \
|
||||||
|
gui/components/libneutrino_gui_components.a \
|
||||||
gui/libtimerlist.a \
|
gui/libtimerlist.a \
|
||||||
gui/libneutrino_gui.a \
|
gui/libneutrino_gui.a \
|
||||||
gui/widget/libneutrino_gui_widget.a \
|
gui/widget/libneutrino_gui_widget.a \
|
||||||
|
@@ -18,7 +18,7 @@ noinst_HEADERS = git_version.h
|
|||||||
.PHONY: makeversion
|
.PHONY: makeversion
|
||||||
|
|
||||||
|
|
||||||
SUBDIRS = widget bedit
|
SUBDIRS = bedit components widget
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
|
@@ -37,7 +37,7 @@
|
|||||||
#include <driver/framebuffer.h>
|
#include <driver/framebuffer.h>
|
||||||
#include <driver/audiofile.h>
|
#include <driver/audiofile.h>
|
||||||
#include <gui/filebrowser.h>
|
#include <gui/filebrowser.h>
|
||||||
#include <gui/widget/components.h>
|
#include <gui/components/cc.h>
|
||||||
#include <gui/widget/menue.h>
|
#include <gui/widget/menue.h>
|
||||||
|
|
||||||
#include <xmltree/xmlinterface.h>
|
#include <xmltree/xmlinterface.h>
|
||||||
|
@@ -35,7 +35,7 @@
|
|||||||
|
|
||||||
#include <driver/framebuffer.h>
|
#include <driver/framebuffer.h>
|
||||||
#include <gui/widget/menue.h>
|
#include <gui/widget/menue.h>
|
||||||
#include <gui/widget/components.h>
|
#include <gui/components/cc.h>
|
||||||
#include <zapit/client/zapitclient.h>
|
#include <zapit/client/zapitclient.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@@ -34,7 +34,7 @@
|
|||||||
|
|
||||||
#include <driver/framebuffer.h>
|
#include <driver/framebuffer.h>
|
||||||
#include <gui/widget/listbox.h>
|
#include <gui/widget/listbox.h>
|
||||||
#include <gui/widget/components.h>
|
#include <gui/components/cc.h>
|
||||||
#include <zapit/client/zapitclient.h>
|
#include <zapit/client/zapitclient.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
|
@@ -55,7 +55,7 @@
|
|||||||
#include <gui/widget/icons.h>
|
#include <gui/widget/icons.h>
|
||||||
#include <gui/widget/messagebox.h>
|
#include <gui/widget/messagebox.h>
|
||||||
#include <gui/widget/progressbar.h>
|
#include <gui/widget/progressbar.h>
|
||||||
#include <gui/widget/components.h>
|
#include <gui/components/cc.h>
|
||||||
|
|
||||||
#include <system/settings.h>
|
#include <system/settings.h>
|
||||||
#include <gui/customcolor.h>
|
#include <gui/customcolor.h>
|
||||||
|
28
src/gui/components/Makefile.am
Normal file
28
src/gui/components/Makefile.am
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
AM_CPPFLAGS = -fno-rtti -fno-exceptions -D__STDC_FORMAT_MACROS
|
||||||
|
|
||||||
|
INCLUDES = \
|
||||||
|
-I$(top_builddir) \
|
||||||
|
-I$(top_srcdir) \
|
||||||
|
-I$(top_srcdir)/src \
|
||||||
|
-I$(top_srcdir)/src/zapit/include \
|
||||||
|
-I$(top_srcdir)/lib \
|
||||||
|
-I$(top_srcdir)/lib/libnet \
|
||||||
|
-I$(top_srcdir)/lib/libconfigfile \
|
||||||
|
@FREETYPE_CFLAGS@
|
||||||
|
|
||||||
|
if BOXTYPE_COOL
|
||||||
|
INCLUDES += -I$(top_srcdir)/lib/libcoolstream
|
||||||
|
endif
|
||||||
|
if USE_STB_HAL
|
||||||
|
INCLUDES += -I$(STB_HAL_INC)
|
||||||
|
else
|
||||||
|
if BOXTYPE_TRIPLE
|
||||||
|
INCLUDES += -I$(top_srcdir)/lib/libtriple
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
|
noinst_LIBRARIES = libneutrino_gui_components.a
|
||||||
|
|
||||||
|
|
||||||
|
libneutrino_gui_components_a_SOURCES = \
|
||||||
|
components.cpp
|
@@ -1,7 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
GUI window component classes - Neutrino-GUI
|
GUI window component classes - Neutrino-GUI
|
||||||
|
|
||||||
Copyright(C) 2012, Thilo Graf (dbt)
|
Copyright(C) 2012, 2013, Thilo Graf
|
||||||
|
|
||||||
This class contains generic components for GUI-related parts.
|
This class contains generic components for GUI-related parts.
|
||||||
|
|
@@ -1,7 +1,8 @@
|
|||||||
/*
|
/*
|
||||||
GUI window component classes - Neutrino-GUI
|
GUI window component classes - Neutrino-GUI
|
||||||
|
|
||||||
Copyright(C) 2012, Thilo Graf (dbt)
|
Copyright(C) 2012, 2013, Thilo Graf
|
||||||
|
Copyright(C) 2012, Michael Liebmann
|
||||||
|
|
||||||
This class contains generic components for GUI-related parts.
|
This class contains generic components for GUI-related parts.
|
||||||
|
|
||||||
@@ -29,7 +30,7 @@
|
|||||||
|
|
||||||
#include <global.h>
|
#include <global.h>
|
||||||
#include <neutrino.h>
|
#include <neutrino.h>
|
||||||
#include <gui/widget/components.h>
|
#include "cc.h"
|
||||||
|
|
||||||
|
|
||||||
|
|
@@ -1,4 +1,4 @@
|
|||||||
AM_CPPFLAGS = -fno-rtti -fno-exceptions
|
AM_CPPFLAGS = -fno-rtti -fno-exceptions -D__STDC_FORMAT_MACROS
|
||||||
|
|
||||||
INCLUDES = \
|
INCLUDES = \
|
||||||
-I$(top_builddir) \
|
-I$(top_builddir) \
|
||||||
@@ -26,7 +26,6 @@ noinst_LIBRARIES = libneutrino_gui_widget.a libneutrino_gui_widget2.a
|
|||||||
libneutrino_gui_widget_a_SOURCES = \
|
libneutrino_gui_widget_a_SOURCES = \
|
||||||
buttons.cpp \
|
buttons.cpp \
|
||||||
colorchooser.cpp \
|
colorchooser.cpp \
|
||||||
components.cpp \
|
|
||||||
drawable.cpp \
|
drawable.cpp \
|
||||||
helpbox.cpp \
|
helpbox.cpp \
|
||||||
hintbox.cpp \
|
hintbox.cpp \
|
||||||
|
@@ -41,7 +41,7 @@
|
|||||||
#include <system/localize.h>
|
#include <system/localize.h>
|
||||||
#include <gui/widget/icons.h>
|
#include <gui/widget/icons.h>
|
||||||
#include <gui/color.h>
|
#include <gui/color.h>
|
||||||
#include <gui/widget/components.h>
|
#include <gui/components/cc.h>
|
||||||
|
|
||||||
#include <string>
|
#include <string>
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
Reference in New Issue
Block a user