Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ff65ea95
Commit
ff65ea95
authored
Jun 04, 2006
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* modules/gui/skins2/*: More simplifications of the same kind
parent
e1670aca
Changes
14
Hide whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
19 additions
and
19 deletions
+19
-19
modules/gui/skins2/controls/ctrl_button.hpp
modules/gui/skins2/controls/ctrl_button.hpp
+1
-1
modules/gui/skins2/controls/ctrl_checkbox.hpp
modules/gui/skins2/controls/ctrl_checkbox.hpp
+1
-1
modules/gui/skins2/controls/ctrl_generic.hpp
modules/gui/skins2/controls/ctrl_generic.hpp
+1
-1
modules/gui/skins2/controls/ctrl_list.hpp
modules/gui/skins2/controls/ctrl_list.hpp
+2
-2
modules/gui/skins2/controls/ctrl_radialslider.hpp
modules/gui/skins2/controls/ctrl_radialslider.hpp
+1
-1
modules/gui/skins2/controls/ctrl_slider.hpp
modules/gui/skins2/controls/ctrl_slider.hpp
+2
-2
modules/gui/skins2/controls/ctrl_text.hpp
modules/gui/skins2/controls/ctrl_text.hpp
+1
-1
modules/gui/skins2/controls/ctrl_tree.hpp
modules/gui/skins2/controls/ctrl_tree.hpp
+1
-1
modules/gui/skins2/controls/ctrl_video.hpp
modules/gui/skins2/controls/ctrl_video.hpp
+1
-1
modules/gui/skins2/src/generic_window.hpp
modules/gui/skins2/src/generic_window.hpp
+1
-1
modules/gui/skins2/src/tooltip.hpp
modules/gui/skins2/src/tooltip.hpp
+1
-1
modules/gui/skins2/utils/var_bool.hpp
modules/gui/skins2/utils/var_bool.hpp
+3
-3
modules/gui/skins2/utils/var_text.hpp
modules/gui/skins2/utils/var_text.hpp
+2
-2
modules/gui/skins2/vars/equalizer.hpp
modules/gui/skins2/vars/equalizer.hpp
+1
-1
No files found.
modules/gui/skins2/controls/ctrl_button.hpp
View file @
ff65ea95
...
@@ -34,7 +34,7 @@ class CmdGeneric;
...
@@ -34,7 +34,7 @@ class CmdGeneric;
/// Base class for button controls
/// Base class for button controls
class
CtrlButton
:
public
CtrlGeneric
,
public
Observer
<
AnimBitmap
,
void
*
>
class
CtrlButton
:
public
CtrlGeneric
,
public
Observer
<
AnimBitmap
>
{
{
public:
public:
/// Create a button with 3 images
/// Create a button with 3 images
...
...
modules/gui/skins2/controls/ctrl_checkbox.hpp
View file @
ff65ea95
...
@@ -36,7 +36,7 @@ class CmdGeneric;
...
@@ -36,7 +36,7 @@ class CmdGeneric;
/// Base class for checkbox controls
/// Base class for checkbox controls
class
CtrlCheckbox
:
public
CtrlGeneric
,
public
Observer
<
AnimBitmap
,
void
*
>
class
CtrlCheckbox
:
public
CtrlGeneric
,
public
Observer
<
AnimBitmap
>
{
{
public:
public:
/// Create a checkbox with 6 images
/// Create a checkbox with 6 images
...
...
modules/gui/skins2/controls/ctrl_generic.hpp
View file @
ff65ea95
...
@@ -41,7 +41,7 @@ class VarBool;
...
@@ -41,7 +41,7 @@ class VarBool;
/// Base class for controls
/// Base class for controls
class
CtrlGeneric
:
public
SkinObject
,
public
Observer
<
VarBool
,
void
*
>
class
CtrlGeneric
:
public
SkinObject
,
public
Observer
<
VarBool
>
{
{
public:
public:
virtual
~
CtrlGeneric
();
virtual
~
CtrlGeneric
();
...
...
modules/gui/skins2/controls/ctrl_list.hpp
View file @
ff65ea95
...
@@ -35,8 +35,8 @@ class GenericBitmap;
...
@@ -35,8 +35,8 @@ class GenericBitmap;
/// Class for control list
/// Class for control list
class
CtrlList
:
public
CtrlGeneric
,
public
Observer
<
VarList
,
void
*
>
,
class
CtrlList
:
public
CtrlGeneric
,
public
Observer
<
VarList
>
,
public
Observer
<
VarPercent
,
void
*
>
public
Observer
<
VarPercent
>
{
{
public:
public:
CtrlList
(
intf_thread_t
*
pIntf
,
VarList
&
rList
,
CtrlList
(
intf_thread_t
*
pIntf
,
VarList
&
rList
,
...
...
modules/gui/skins2/controls/ctrl_radialslider.hpp
View file @
ff65ea95
...
@@ -36,7 +36,7 @@ class VarPercent;
...
@@ -36,7 +36,7 @@ class VarPercent;
/// Radial slider
/// Radial slider
class
CtrlRadialSlider
:
public
CtrlGeneric
,
public
Observer
<
VarPercent
,
void
*
>
class
CtrlRadialSlider
:
public
CtrlGeneric
,
public
Observer
<
VarPercent
>
{
{
public:
public:
/// Create a radial slider with the given image, which must be
/// Create a radial slider with the given image, which must be
...
...
modules/gui/skins2/controls/ctrl_slider.hpp
View file @
ff65ea95
...
@@ -37,7 +37,7 @@ class VarPercent;
...
@@ -37,7 +37,7 @@ class VarPercent;
/// Cursor of a slider
/// Cursor of a slider
class
CtrlSliderCursor
:
public
CtrlGeneric
,
public
Observer
<
VarPercent
,
void
*
>
class
CtrlSliderCursor
:
public
CtrlGeneric
,
public
Observer
<
VarPercent
>
{
{
public:
public:
/// Create a cursor with 3 images (which are NOT copied, be careful)
/// Create a cursor with 3 images (which are NOT copied, be careful)
...
@@ -109,7 +109,7 @@ class CtrlSliderCursor: public CtrlGeneric, public Observer<VarPercent, void*>
...
@@ -109,7 +109,7 @@ class CtrlSliderCursor: public CtrlGeneric, public Observer<VarPercent, void*>
/// Slider background
/// Slider background
class
CtrlSliderBg
:
public
CtrlGeneric
,
public
Observer
<
VarPercent
,
void
*
>
class
CtrlSliderBg
:
public
CtrlGeneric
,
public
Observer
<
VarPercent
>
{
{
public:
public:
CtrlSliderBg
(
intf_thread_t
*
pIntf
,
CtrlSliderBg
(
intf_thread_t
*
pIntf
,
...
...
modules/gui/skins2/controls/ctrl_text.hpp
View file @
ff65ea95
...
@@ -38,7 +38,7 @@ class VarText;
...
@@ -38,7 +38,7 @@ class VarText;
/// Class for control text
/// Class for control text
class
CtrlText
:
public
CtrlGeneric
,
public
Observer
<
VarText
,
void
*
>
class
CtrlText
:
public
CtrlGeneric
,
public
Observer
<
VarText
>
{
{
public:
public:
enum
Align_t
enum
Align_t
...
...
modules/gui/skins2/controls/ctrl_tree.hpp
View file @
ff65ea95
...
@@ -34,7 +34,7 @@ class GenericBitmap;
...
@@ -34,7 +34,7 @@ class GenericBitmap;
/// Class for control tree
/// Class for control tree
class
CtrlTree
:
public
CtrlGeneric
,
public
Observer
<
VarTree
,
tree_update
*>
,
class
CtrlTree
:
public
CtrlGeneric
,
public
Observer
<
VarTree
,
tree_update
*>
,
public
Observer
<
VarPercent
,
void
*
>
public
Observer
<
VarPercent
>
{
{
public:
public:
CtrlTree
(
intf_thread_t
*
pIntf
,
CtrlTree
(
intf_thread_t
*
pIntf
,
...
...
modules/gui/skins2/controls/ctrl_video.hpp
View file @
ff65ea95
...
@@ -30,7 +30,7 @@
...
@@ -30,7 +30,7 @@
class
VoutWindow
;
class
VoutWindow
;
/// Control video
/// Control video
class
CtrlVideo
:
public
CtrlGeneric
,
public
Observer
<
VarBox
,
void
*
>
class
CtrlVideo
:
public
CtrlGeneric
,
public
Observer
<
VarBox
>
{
{
public:
public:
CtrlVideo
(
intf_thread_t
*
pIntf
,
GenericLayout
&
rLayout
,
CtrlVideo
(
intf_thread_t
*
pIntf
,
GenericLayout
&
rLayout
,
...
...
modules/gui/skins2/src/generic_window.hpp
View file @
ff65ea95
...
@@ -42,7 +42,7 @@ class WindowManager;
...
@@ -42,7 +42,7 @@ class WindowManager;
/// Generic window class
/// Generic window class
class
GenericWindow
:
public
SkinObject
,
public
Observer
<
VarBool
,
void
*
>
class
GenericWindow
:
public
SkinObject
,
public
Observer
<
VarBool
>
{
{
private:
private:
friend
class
WindowManager
;
friend
class
WindowManager
;
...
...
modules/gui/skins2/src/tooltip.hpp
View file @
ff65ea95
...
@@ -35,7 +35,7 @@ class OSGraphics;
...
@@ -35,7 +35,7 @@ class OSGraphics;
class
UString
;
class
UString
;
class
Tooltip
:
public
SkinObject
,
public
Observer
<
VarText
,
void
*
>
class
Tooltip
:
public
SkinObject
,
public
Observer
<
VarText
>
{
{
public:
public:
/// Create a tooltip with the given font and delay (in milliseconds)
/// Create a tooltip with the given font and delay (in milliseconds)
...
...
modules/gui/skins2/utils/var_bool.hpp
View file @
ff65ea95
...
@@ -89,7 +89,7 @@ class VarBoolImpl: public VarBool
...
@@ -89,7 +89,7 @@ class VarBoolImpl: public VarBool
/// Conjunction of two boolean variables (AND)
/// Conjunction of two boolean variables (AND)
class
VarBoolAndBool
:
public
VarBool
,
public
Observer
<
VarBool
,
void
*
>
class
VarBoolAndBool
:
public
VarBool
,
public
Observer
<
VarBool
>
{
{
public:
public:
VarBoolAndBool
(
intf_thread_t
*
pIntf
,
VarBool
&
rVar1
,
VarBool
&
rVar2
);
VarBoolAndBool
(
intf_thread_t
*
pIntf
,
VarBool
&
rVar1
,
VarBool
&
rVar2
);
...
@@ -108,7 +108,7 @@ class VarBoolAndBool: public VarBool, public Observer<VarBool, void*>
...
@@ -108,7 +108,7 @@ class VarBoolAndBool: public VarBool, public Observer<VarBool, void*>
/// Disjunction of two boolean variables (OR)
/// Disjunction of two boolean variables (OR)
class
VarBoolOrBool
:
public
VarBool
,
public
Observer
<
VarBool
,
void
*
>
class
VarBoolOrBool
:
public
VarBool
,
public
Observer
<
VarBool
>
{
{
public:
public:
VarBoolOrBool
(
intf_thread_t
*
pIntf
,
VarBool
&
rVar1
,
VarBool
&
rVar2
);
VarBoolOrBool
(
intf_thread_t
*
pIntf
,
VarBool
&
rVar1
,
VarBool
&
rVar2
);
...
@@ -127,7 +127,7 @@ class VarBoolOrBool: public VarBool, public Observer<VarBool, void*>
...
@@ -127,7 +127,7 @@ class VarBoolOrBool: public VarBool, public Observer<VarBool, void*>
/// Negation of a boolean variable (NOT)
/// Negation of a boolean variable (NOT)
class
VarNotBool
:
public
VarBool
,
public
Observer
<
VarBool
,
void
*
>
class
VarNotBool
:
public
VarBool
,
public
Observer
<
VarBool
>
{
{
public:
public:
VarNotBool
(
intf_thread_t
*
pIntf
,
VarBool
&
rVar
);
VarNotBool
(
intf_thread_t
*
pIntf
,
VarBool
&
rVar
);
...
...
modules/gui/skins2/utils/var_text.hpp
View file @
ff65ea95
...
@@ -33,8 +33,8 @@
...
@@ -33,8 +33,8 @@
/// String variable
/// String variable
class
VarText
:
public
Variable
,
public
Subject
<
VarText
>
,
class
VarText
:
public
Variable
,
public
Subject
<
VarText
>
,
public
Observer
<
VarPercent
,
void
*
>
,
public
Observer
<
VarPercent
>
,
public
Observer
<
VarText
,
void
*
>
public
Observer
<
VarText
>
{
{
public:
public:
// Set substVars to true to replace "$X" variables in the text
// Set substVars to true to replace "$X" variables in the text
...
...
modules/gui/skins2/vars/equalizer.hpp
View file @
ff65ea95
...
@@ -29,7 +29,7 @@
...
@@ -29,7 +29,7 @@
/// Variable for graphical equalizer
/// Variable for graphical equalizer
class
EqualizerBands
:
public
SkinObject
,
public
Observer
<
VarPercent
,
void
*
>
class
EqualizerBands
:
public
SkinObject
,
public
Observer
<
VarPercent
>
{
{
public:
public:
/// Number of bands
/// Number of bands
...
...
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