Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
a796b89d
Commit
a796b89d
authored
Apr 28, 2003
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skeleton of X11 skins
parent
ad6c5336
Changes
10
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
82 additions
and
10 deletions
+82
-10
modules/gui/skins/Modules.am
modules/gui/skins/Modules.am
+17
-0
modules/gui/skins/controls/text.cpp
modules/gui/skins/controls/text.cpp
+16
-2
modules/gui/skins/os_bitmap.h
modules/gui/skins/os_bitmap.h
+4
-1
modules/gui/skins/os_event.h
modules/gui/skins/os_event.h
+4
-1
modules/gui/skins/os_font.h
modules/gui/skins/os_font.h
+9
-1
modules/gui/skins/os_graphics.h
modules/gui/skins/os_graphics.h
+7
-1
modules/gui/skins/os_theme.h
modules/gui/skins/os_theme.h
+4
-1
modules/gui/skins/os_window.h
modules/gui/skins/os_window.h
+5
-1
modules/gui/skins/src/skin_common.h
modules/gui/skins/src/skin_common.h
+9
-1
modules/gui/skins/src/skin_main.cpp
modules/gui/skins/src/skin_main.cpp
+7
-1
No files found.
modules/gui/skins/Modules.am
View file @
a796b89d
...
...
@@ -91,6 +91,23 @@ SOURCES_skins = \
modules/gui/skins/gtk2/gtk2_window.cpp \
modules/gui/skins/gtk2/gtk2_window.h \
\
modules/gui/skins/x11/x11_api.cpp \
modules/gui/skins/x11/x11_bitmap.cpp \
modules/gui/skins/x11/x11_bitmap.h \
modules/gui/skins/x11/x11_dragdrop.cpp \
modules/gui/skins/x11/x11_dragdrop.h \
modules/gui/skins/x11/x11_event.cpp \
modules/gui/skins/x11/x11_event.h \
modules/gui/skins/x11/x11_font.cpp \
modules/gui/skins/x11/x11_font.h \
modules/gui/skins/x11/x11_graphics.cpp \
modules/gui/skins/x11/x11_graphics.h \
modules/gui/skins/x11/x11_run.cpp \
modules/gui/skins/x11/x11_theme.cpp \
modules/gui/skins/x11/x11_theme.h \
modules/gui/skins/x11/x11_window.cpp \
modules/gui/skins/x11/x11_window.h \
\
modules/gui/wxwindows/fileinfo.cpp \
modules/gui/wxwindows/messages.cpp \
modules/gui/wxwindows/open.cpp \
...
...
modules/gui/skins/controls/text.cpp
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* text.cpp: Text control
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: text.cpp,v 1.
8 2003/04/28 12:25:34
asmax Exp $
* $Id: text.cpp,v 1.
9 2003/04/28 14:12:32
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -77,7 +77,7 @@
}
//-----------------------------------------------------------------------
#el
se
#el
if defined GTK2_SKINS
//-----------------------------------------------------------------------
// Gtk2 methods
...
...
@@ -110,6 +110,20 @@
}
//-----------------------------------------------------------------------
#elif defined X11_SKINS
//-----------------------------------------------------------------------
// X11 methods
//-----------------------------------------------------------------------
//-----------------------------------------------------------------------
void
ControlText
::
StartScrolling
()
{
}
//-----------------------------------------------------------------------
void
ControlText
::
StopScrolling
()
{
}
//-----------------------------------------------------------------------
#endif
//---------------------------------------------------------------------------
...
...
modules/gui/skins/os_bitmap.h
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* os_bitmap.h: Wrapper for the Bitmap class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: os_bitmap.h,v 1.
4 2003/04/28 12:00:13
asmax Exp $
* $Id: os_bitmap.h,v 1.
5 2003/04/28 14:12:32
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -30,6 +30,9 @@
#elif defined GTK2_SKINS
#include "gtk2/gtk2_bitmap.h"
#define OSBitmap GTK2Bitmap
#elif defined X11_SKINS
#include "x11/x11_bitmap.h"
#define OSBitmap X11Bitmap
#endif
modules/gui/skins/os_event.h
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* os_event.h: Wrapper for the Event class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: os_event.h,v 1.
4 2003/04/28 12:00:13
asmax Exp $
* $Id: os_event.h,v 1.
5 2003/04/28 14:12:32
asmax Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -30,5 +30,8 @@
#elif defined GTK2_SKINS
#include "gtk2/gtk2_event.h"
#define OSEvent GTK2Event
#elif defined X11_SKINS
#include "x11/x11_event.h"
#define OSEvent X11Event
#endif
modules/gui/skins/os_font.h
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* os_font.h: Wrapper for the OSFont class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: os_font.h,v 1.
5 2003/04/28 12:00:13
asmax Exp $
* $Id: os_font.h,v 1.
6 2003/04/28 14:12:32
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -40,4 +40,12 @@
#define VLC_FONT_ALIGN_CENTER PANGO_ALIGN_CENTER
#define VLC_FONT_ALIGN_RIGHT PANGO_ALIGN_RIGHT
#elif defined X11_SKINS
#include "x11/x11_font.h"
#define OSFont X11Font
#define VLC_FONT_ALIGN_LEFT 0
#define VLC_FONT_ALIGN_CENTER 1
#define VLC_FONT_ALIGN_RIGHT 2
#endif
modules/gui/skins/os_graphics.h
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* os_graphics.h: Wrapper for the Graphics and Region classes
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: os_graphics.h,v 1.
5 2003/04/28 12:00:13
asmax Exp $
* $Id: os_graphics.h,v 1.
6 2003/04/28 14:12:32
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -36,5 +36,11 @@
#define SRC_AND 2
#define OSGraphics GTK2Graphics
#define OSRegion GTK2Region
#elif defined X11_SKINS
#include "x11/x11_graphics.h"
#define SRC_COPY 1
#define SRC_AND 2
#define OSGraphics X11Graphics
#define OSRegion X11Region
#endif
modules/gui/skins/os_theme.h
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* os_theme.h: Wrapper for the OSTheme class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: os_theme.h,v 1.
4 2003/04/28 12:00:13
asmax Exp $
* $Id: os_theme.h,v 1.
5 2003/04/28 14:12:32
asmax Exp $
*
* Authors: Olivier Teulière <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -30,4 +30,7 @@
#elif defined GTK2_SKINS
#include "gtk2/gtk2_theme.h"
#define OSTheme GTK2Theme
#elif defined X11_SKINS
#include "x11/x11_theme.h"
#define OSTheme X11Theme
#endif
modules/gui/skins/os_window.h
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* os_window.h: Wrapper for the OSWindow class
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: os_window.h,v 1.
4 2003/04/28 12:00:13
asmax Exp $
* $Id: os_window.h,v 1.
5 2003/04/28 14:12:32
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -32,4 +32,8 @@
#include "gtk2/gtk2_dragdrop.h"
#include "gtk2/gtk2_window.h"
#define OSWindow GTK2Window
#elif defined X11_SKINS
#include "x11/x11_dragdrop.h"
#include "x11/x11_window.h"
#define OSWindow X11Window
#endif
modules/gui/skins/src/skin_common.h
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* skin_common.h: Private Skin interface description
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: skin_common.h,v 1.
5 2003/04/23 10:29:52
asmax Exp $
* $Id: skin_common.h,v 1.
6 2003/04/28 14:12:33
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -39,6 +39,10 @@ class SoutDialog;
class
PrefsDialog
;
class
FileInfo
;
#ifdef X11_SKINS
#include <X11/Xlib.h>
#endif
//---------------------------------------------------------------------------
// intf_sys_t: description and status of skin interface
//---------------------------------------------------------------------------
...
...
@@ -78,6 +82,10 @@ struct intf_sys_t
vlc_mutex_t
init_lock
;
vlc_cond_t
init_cond
;
#ifdef X11_SKINS
Display
*
display
;
#endif
};
#endif
...
...
modules/gui/skins/src/skin_main.cpp
View file @
a796b89d
...
...
@@ -2,7 +2,7 @@
* skin-main.cpp: skins plugin for VLC
*****************************************************************************
* Copyright (C) 2003 VideoLAN
* $Id: skin_main.cpp,v 1.2
0 2003/04/28 12:00:14
asmax Exp $
* $Id: skin_main.cpp,v 1.2
1 2003/04/28 14:12:33
asmax Exp $
*
* Authors: Olivier Teulire <ipkiss@via.ecp.fr>
* Emmanuel Puig <karibu@via.ecp.fr>
...
...
@@ -43,6 +43,9 @@
#include "skin_common.h"
#include "wxdialogs.h"
#ifdef X11_SKINS
#include <X11/Xlib.h>
#endif
//---------------------------------------------------------------------------
// Interface thread
...
...
@@ -112,6 +115,9 @@ static int Open ( vlc_object_t *p_this )
char
**
pp_args
=
p_args
;
gdk_init
(
&
i_args
,
&
pp_args
);
#elif defined X11_SKINS
// Initialize X11
p_intf
->
p_sys
->
display
=
XOpenDisplay
(
NULL
);
#endif
// Initialize conditions and mutexes
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment