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
f8663297
Commit
f8663297
authored
Jul 30, 2006
by
Olivier Teulière
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* skins2/*: fixed some doxygen comments
parent
b9864a81
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
14 deletions
+26
-14
modules/gui/skins2/controls/ctrl_generic.hpp
modules/gui/skins2/controls/ctrl_generic.hpp
+17
-9
modules/gui/skins2/src/generic_layout.hpp
modules/gui/skins2/src/generic_layout.hpp
+9
-5
No files found.
modules/gui/skins2/controls/ctrl_generic.hpp
View file @
f8663297
...
...
@@ -66,8 +66,10 @@ class CtrlGeneric: public SkinObject, public Observer<VarBool>
virtual
UString
getTooltipText
()
const
{
return
UString
(
getIntf
(),
""
);
}
/// Overload this method if you want to do something special when
/// the layout is resized
/**
* Overload this method if you want to do something special when
* the layout is resized
*/
virtual
void
onResize
()
{}
/// Get the help text
...
...
@@ -87,14 +89,18 @@ class CtrlGeneric: public SkinObject, public Observer<VarBool>
CtrlGeneric
(
intf_thread_t
*
pIntf
,
const
UString
&
rHelp
,
VarBool
*
pVisible
=
NULL
);
/// Tell the layout when the image has changed, with the size of the
/// rectangle to repaint and its offset.
/// Use the default values to repaint the whole window
/**
* Tell the layout when the image has changed, with the size of the
* rectangle to repaint and its offset.
* Use the default values to repaint the whole window
*/
virtual
void
notifyLayout
(
int
witdh
=
-
1
,
int
height
=
-
1
,
int
xOffSet
=
0
,
int
yOffSet
=
0
)
const
;
/// Same as notifyLayout(), but takes optional images as parameters.
/// The maximum size(s) of the images will be used for repainting.
/**
* Same as notifyLayout(), but takes optional images as parameters.
* The maximum size(s) of the images will be used for repainting.
*/
void
notifyLayoutMaxSize
(
const
Box
*
pImg1
=
NULL
,
const
Box
*
pImg2
=
NULL
);
...
...
@@ -110,8 +116,10 @@ class CtrlGeneric: public SkinObject, public Observer<VarBool>
/// Get the associated window, if any
virtual
TopWindow
*
getWindow
()
const
;
/// Overload this method if you want to do something special when
/// the Position object is set
/**
* Overload this method if you want to do something special when
* the Position object is set
*/
virtual
void
onPositionChange
()
{}
/// Overload this method to get notified of bool variable changes
...
...
modules/gui/skins2/src/generic_layout.hpp
View file @
f8663297
...
...
@@ -100,8 +100,10 @@ class GenericLayout: public SkinObject, public Box
/// Resize the layout
virtual
void
resize
(
int
width
,
int
height
);
/// Add a control in the layout at the given position, and
/// the optional given layer
/**
* Add a control in the layout at the given position, and
* the optional given layer
*/
virtual
void
addControl
(
CtrlGeneric
*
pControl
,
const
Position
&
rPosition
,
int
layer
);
...
...
@@ -110,9 +112,11 @@ class GenericLayout: public SkinObject, public Box
virtual
const
list
<
LayeredControl
>
&
getControlList
()
const
;
/// Called by a control when its image has changed
/// The arguments indicate the size of the rectangle to refresh,
/// and the offset (from the control position) of this rectangle.
/// Use a negative width or height to refresh the layout completely
/**
* The arguments indicate the size of the rectangle to refresh,
* and the offset (from the control position) of this rectangle.
* Use a negative width or height to refresh the layout completely
*/
virtual
void
onControlUpdate
(
const
CtrlGeneric
&
rCtrl
,
int
width
,
int
height
,
int
xOffSet
,
int
yOffSet
);
...
...
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