Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-RAN
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
zzha zzha
OpenXG-RAN
Commits
ee623563
Commit
ee623563
authored
May 13, 2016
by
Cedric Roux
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
new function timeline_get_width
parent
48f0c341
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
0 deletions
+13
-0
common/utils/T/tracer/gui/gui.h
common/utils/T/tracer/gui/gui.h
+1
-0
common/utils/T/tracer/gui/timeline.c
common/utils/T/tracer/gui/timeline.c
+12
-0
No files found.
common/utils/T/tracer/gui/gui.h
View file @
ee623563
...
...
@@ -59,6 +59,7 @@ void timeline_add_points(gui *gui, widget *this, int subline, int color,
int
*
x
,
int
len
);
void
timeline_set_subline_background_color
(
gui
*
gui
,
widget
*
this
,
int
subline
,
int
color
);
void
timeline_get_width
(
gui
*
gui
,
widget
*
this
,
int
*
width
);
void
gui_loop
(
gui
*
gui
);
...
...
common/utils/T/tracer/gui/timeline.c
View file @
ee623563
...
...
@@ -148,3 +148,15 @@ void timeline_set_subline_background_color(gui *_gui, widget *_this,
gunlock
(
g
);
}
void
timeline_get_width
(
gui
*
_gui
,
widget
*
_this
,
int
*
width
)
{
struct
gui
*
g
=
_gui
;
struct
timeline_widget
*
this
=
_this
;
glock
(
g
);
*
width
=
this
->
common
.
width
==
0
?
this
->
wanted_width
:
this
->
common
.
width
;
gunlock
(
g
);
}
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