aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/rlc_lte_graph.c
AgeCommit message (Collapse)AuthorFilesLines
2012-08-11Allow Page Up and Page Down to be used when zoomed in.Martin Mathieson1-1/+11
svn path=/trunk/; revision=44443
2012-08-11Also place a limit on how far we can zoom in horizonally (no point inMartin Mathieson1-3/+4
making on subframe (1ms) be really big). svn path=/trunk/; revision=44442
2012-08-11When a graph is launched based upon an AM status PDU, make it for theMartin Mathieson1-1/+8
opposite direction. svn path=/trunk/; revision=44440
2012-08-09RLC: when zooming, use shift and control keys to lock vertical orMartin Mathieson1-17/+70
horizontal scaling respectively. RLC+TCP: when already fully zoomed out, don't multiply zoom by 1.0 and redraw. When holding down the key to zoom out, waiting to several redraws of the whole graph to complete could take a while... svn path=/trunk/; revision=44374
2012-08-08It handles GDK_DISABLE_DEPRECATEDAnders Broman1-4/+0
svn path=/trunk/; revision=44326
2012-08-07Fix a test to avoid the cross leaving a line behind at the top of theMartin Mathieson1-2/+2
graph. svn path=/trunk/; revision=44315
2012-08-07Don't add 0.5 to coordinates used for drawing the cross. Was goingMartin Mathieson1-4/+4
beyond the area and leaving artifacts. svn path=/trunk/; revision=44313
2012-08-07Redo the cross drawing/erasing.Martin Mathieson1-56/+62
Draw in black, erase by just redrawing the current pixmap. Will apply to tcp_graph.c if/when this gets through the buildbots. svn path=/trunk/; revision=44308
2012-08-05Add right mouse button grab/moving feature (from tcp_graph.c).Martin Mathieson1-9/+56
svn path=/trunk/; revision=44276
2012-08-05Add cross-hairs here too. Draw lines, but don't change mouse cursor.Martin Mathieson1-20/+149
svn path=/trunk/; revision=44272
2012-08-02Cast event->x and event->y to int to avoid warnings seen on WindowsMartin Mathieson1-2/+2
buildbots. svn path=/trunk/; revision=44201
2012-08-02The keyboard and mouse zoom functions were almost identical - use aMartin Mathieson1-78/+38
common routine instead. svn path=/trunk/; revision=44200
2012-07-30Zoom in/out more slowly, and don't redefine zoom struct.Martin Mathieson1-21/+15
svn path=/trunk/; revision=44144
2012-07-30Put back the configure_event() handler - it is needed for handlingMartin Mathieson1-0/+61
resizing. svn path=/trunk/; revision=44139
2012-07-30Try to unbreak the build.Martin Mathieson1-2/+2
Apologies, I changed the clock time on my computer and so the file didn't get rebuilt with the last of my changes... svn path=/trunk/; revision=44127
2012-07-30Remove yet more unneeded remnants from tcp_graph.cMartin Mathieson1-133/+27
svn path=/trunk/; revision=44126
2012-07-29Just let cairo clip lines to the edge of the visible graph area.Martin Mathieson1-19/+7
tcp_graph.c needlessly does this itself, but it only has to deal with horizonal and vertical lines.... When have returned to original, unzoomed state, set zoom to be 'in' for the middle mouse button, as thats all that makes sense. svn path=/trunk/; revision=44124
2012-07-29Tidy up help window, and get rid of a compile-time option to preserveMartin Mathieson1-60/+33
the 'old' button settings (used by tcp_graph.c). svn path=/trunk/; revision=44100
2012-07-29Set maximum zoom on Y axis based upon bounds, so works better if thereMartin Mathieson1-15/+16
isn't an SN=1023 for the channel. Now I understand the time origin toggle - make it show the capture time by default now. svn path=/trunk/; revision=44099
2012-07-28Simply #ifdefs slightly in the graph code.Evan Huus1-2/+1
Makes cppcheck happier. svn path=/trunk/; revision=44092
2012-07-27More cleaning up of unused remnants from tcp_graph.c.Martin Mathieson1-81/+17
svn path=/trunk/; revision=44081
2012-07-26Limit zoom vertically to around 90 pixels / sequence number.Martin Mathieson1-11/+28
svn path=/trunk/; revision=44057
2012-07-25Remove handlers for a couple of events we're not interested in.Martin Mathieson1-24/+5
svn path=/trunk/; revision=44002
2012-07-25Only call cairo_stroke() when the colour changes, and at the end of theMartin Mathieson1-1/+4
long list of elements. Now the graph is like greased lightening! I will look later to see if I can apply the same change to the TCP graphs. svn path=/trunk/; revision=44001
2012-07-25When drawing the line elements, only call gdk_cairo_set_source_color()Martin Mathieson1-11/+27
when the element colour changes. svn path=/trunk/; revision=43998
2012-07-25When zooming in, never subdivide whole numbers on the Y axis (they areMartin Mathieson1-17/+25
sequence numbers). svn path=/trunk/; revision=43980
2012-07-24Don't leak the graph (or skip a graph refnum) if single RLC channel notMartin Mathieson1-4/+7
found in selected frame in the packet list. svn path=/trunk/; revision=43972
2012-07-22Fix horizontal line that gets drawn from the last ACK to the r.h. edgeMartin Mathieson1-1/+1
of the graph (when the last SN hasn't been acknowledged). svn path=/trunk/; revision=43910
2012-07-22Delete stray debug printf() call left in last commit.Martin Mathieson1-2/+0
svn path=/trunk/; revision=43909
2012-07-21Don't scale sequence numbers back to 0 (like TCP does). I want to seeMartin Mathieson1-25/+36
the real sequence number. TODO: show the absolute time... svn path=/trunk/; revision=43900
2012-07-20Fix some clang warnings: implicit conversion from enumeration type ↵Jakub Zawadzki1-1/+1
'GtkStateType' to different enumeration type 'GtkStateFlags' [-Werror,-Wconversion] GTK_STATE_NORMAL and GTK_STATE_FLAG_NORMAL are both 0. svn path=/trunk/; revision=43854
2012-07-14Sanity checks to avoid a crash if no file is openPascal Quantin1-1/+5
svn path=/trunk/; revision=43717
2012-07-13Add some comments, remove more left-overs from tcp_graph.c.Martin Mathieson1-26/+13
svn path=/trunk/; revision=43687
2012-07-11Speed up line drawing by no longer creating and destroying a cairo_tMartin Mathieson1-27/+43
object for each line - rather create one and use it for the entire list, then destroy it. Simplify the allocation of segments, by no longer messing around with a static that may or may not be used. Also, there was a good chance the last one would be leaked (if it was not part of the stream we are interested in). Note that both of these improvements would also apply to tcp_graph.c - will wait a couple of days to be sure the changes are good. svn path=/trunk/; revision=43654
2012-07-10Trivial indentation fixes.Martin Mathieson1-26/+23
svn path=/trunk/; revision=43636
2012-07-10From Evan Huus:Guy Harris1-15/+1
Fix an uninitialized-variable error that was breaking compile with gcc. Also remove some cruft that looks like it was copy-pasted from ui/gtk/tcp_graph.c Fixes bug 7460. svn path=/trunk/; revision=43635
2012-07-10Add a sequence graph for LTE RLC channels under Telephony | LTE.Martin Mathieson1-0/+2662
svn path=/trunk/; revision=43634