Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
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-gpu
Commits
7c08fb2f
Commit
7c08fb2f
authored
Aug 06, 2005
by
Cyril Deguet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* all: fixed member initialization order
parent
64a27c19
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
15 deletions
+12
-15
modules/gui/skins2/controls/ctrl_slider.cpp
modules/gui/skins2/controls/ctrl_slider.cpp
+0
-1
modules/gui/skins2/controls/ctrl_slider.hpp
modules/gui/skins2/controls/ctrl_slider.hpp
+7
-8
modules/gui/skins2/controls/ctrl_text.hpp
modules/gui/skins2/controls/ctrl_text.hpp
+5
-6
No files found.
modules/gui/skins2/controls/ctrl_slider.cpp
View file @
7c08fb2f
...
...
@@ -53,7 +53,6 @@ CtrlSliderCursor::CtrlSliderCursor( intf_thread_t *pIntf,
m_cmdOverDown
(
pIntf
,
this
),
m_cmdDownOver
(
pIntf
,
this
),
m_cmdOverUp
(
pIntf
,
this
),
m_cmdUpOver
(
pIntf
,
this
),
m_cmdMove
(
pIntf
,
this
),
m_cmdScroll
(
pIntf
,
this
),
m_lastPercentage
(
0
),
m_xOffset
(
0
),
m_yOffset
(
0
),
m_pEvt
(
NULL
),
m_rCurve
(
rCurve
)
{
...
...
modules/gui/skins2/controls/ctrl_slider.hpp
View file @
7c08fb2f
...
...
@@ -77,6 +77,13 @@ class CtrlSliderCursor: public CtrlGeneric, public Observer<VarPercent>
int
m_width
,
m_height
;
/// Position of the cursor
int
m_xPosition
,
m_yPosition
;
/// Callback objects
DEFINE_CALLBACK
(
CtrlSliderCursor
,
OverDown
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
DownOver
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
OverUp
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
UpOver
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
Move
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
Scroll
)
/// Last saved position of the cursor (stored as a percentage)
float
m_lastPercentage
;
/// Offset between the mouse pointer and the center of the cursor
...
...
@@ -90,14 +97,6 @@ class CtrlSliderCursor: public CtrlGeneric, public Observer<VarPercent>
/// Bezier curve of the slider
const
Bezier
&
m_rCurve
;
/// Callback objects
DEFINE_CALLBACK
(
CtrlSliderCursor
,
OverDown
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
DownOver
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
OverUp
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
UpOver
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
Move
)
DEFINE_CALLBACK
(
CtrlSliderCursor
,
Scroll
)
/// Method called when the position variable is modified
virtual
void
onUpdate
(
Subject
<
VarPercent
>
&
rVariable
);
...
...
modules/gui/skins2/controls/ctrl_text.hpp
View file @
7c08fb2f
...
...
@@ -68,6 +68,11 @@ class CtrlText: public CtrlGeneric, public Observer<VarText>
FSM
m_fsm
;
/// Variable associated to the control
VarText
&
m_rVariable
;
/// Callback objects
DEFINE_CALLBACK
(
CtrlText
,
ToManual
)
DEFINE_CALLBACK
(
CtrlText
,
ManualMoving
)
DEFINE_CALLBACK
(
CtrlText
,
ManualStill
)
DEFINE_CALLBACK
(
CtrlText
,
Move
)
/// The last received event
EvtGeneric
*
m_pEvt
;
/// Font used to render the text
...
...
@@ -89,12 +94,6 @@ class CtrlText: public CtrlGeneric, public Observer<VarText>
/// Timer to move the text
OSTimer
*
m_pTimer
;
/// Callback objects
DEFINE_CALLBACK
(
CtrlText
,
ToManual
)
DEFINE_CALLBACK
(
CtrlText
,
ManualMoving
)
DEFINE_CALLBACK
(
CtrlText
,
ManualStill
)
DEFINE_CALLBACK
(
CtrlText
,
Move
)
/// Callback for the timer
static
void
updateText
(
SkinObject
*
pCtrl
);
...
...
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