Cedric Roux
ee2668b7c3
T GUI: add a get_range() API function for xy_plot
2025-08-18 11:53:54 +02:00
Cedric Roux
5b6a83fc7f
T: some work on XY plot
...
- change paint function:
when the XY plot is resized we scale. Previously
the last range was put in the middle of the new range
(say when we increase the size).
We may get aspect ratio changes if the resize is not identical
vertically and horizontally, but I think this behaviour is more
'natural'.
- fix a bug:
the last horizontal tick label was printed to far on the right,
out of the bouding box of the XY plot. This is not totally fixed
in the case the label is larger than the XY plot. Now the part
out of the bounding box will be printed on the left. No big deal,
make the plot big enough. (Before, even if big enough you had a
problem.)
- add a new vertical tick display, to be used for throughput mostly.
See in enb.c the difference between 'input signal' and throughput
plots (those throughput plots will come in later commits).
2016-12-05 17:37:22 +01:00
Cedric Roux
bff8e40d00
T: add widget 'textarea'
...
It's like a label but with fixed dimensions and maximum
characters' capacity at creation time.
2016-12-05 17:30:13 +01:00
Cedric Roux
484cad2431
T: add function xy_plot_set_title
2016-11-25 17:17:39 +01:00
Cedric Roux
8eeebdaf98
T: add function label_set_text
2016-11-25 17:17:16 +01:00
Cedric Roux
d62de525eb
scroll by one line in textlist
...
to scroll by only one line, hold CONTROL key and scroll with
mouse wheel
2016-07-27 13:05:46 +02:00
Cedric Roux
187e7906cb
use Xft to draw strings
2016-05-25 10:30:25 +02:00
Cedric Roux
d08a2b1a60
image widget
...
many assumptions about X backed were made, to be refined if does not
work properly in some setups
2016-05-24 15:38:44 +02:00
Cedric Roux
50c00218c7
space widget, to add some space in the gui
2016-05-23 16:18:00 +02:00
Cedric Roux
e4fd229641
gui/timeline.c click event
2016-05-19 16:00:10 +02:00
Cedric Roux
5c5f54709c
gui/timeline.c scroll up/down event to include x, y, key_modifiers
2016-05-19 15:47:40 +02:00
Cedric Roux
4511fe7778
add key modifiers to button event
2016-05-19 15:28:28 +02:00
Cedric Roux
2e7ab60d70
zoom in/out in timeline
2016-05-17 16:18:29 +02:00
Cedric Roux
f49489a632
add _silent functions for gui/timeline.c, the way view/time.c uses it
...
requires those optimizations
2016-05-15 23:15:06 +02:00
Cedric Roux
ee62356349
new function timeline_get_width
2016-05-13 15:29:08 +02:00
Cedric Roux
944dad4caa
GUI timeline widget
2016-05-12 17:03:07 +02:00
Cedric Roux
52fae6a830
minor "typo"
2016-05-12 15:18:35 +02:00
Cedric Roux
70ebbd7e19
new function xy_plot_get_dimensions
2016-05-11 15:34:44 +02:00
Cedric Roux
32b2264fbd
support multiple plot per xy_plot
2016-05-09 12:13:18 +02:00
Cedric Roux
16e17d346f
positioner widget - the child is positioned in the middle, does not grow
2016-05-04 17:27:32 +02:00
Cedric Roux
8f50b77e30
make label clickable (the user has to ask for it, it's non-clickable by default)
2016-05-04 15:56:06 +02:00
Cedric Roux
deefb1854f
delete children widget
2016-05-04 15:21:52 +02:00
Cedric Roux
1dea159028
gui "text_list" becomes "textlist"
...
view "textlist" becomes "view_textlist" (this one may change at some
point)
2016-05-04 10:09:33 +02:00
Cedric Roux
042f284bc2
introduce widget_dirty - not only text list might want the optimization
2016-05-02 14:33:07 +02:00
Cedric Roux
ca3a05a592
optimize text list view
...
when too much data has been sent to the text list view, way too much
GUI processing is done, let's batch-process the changes and then tell
the GUI that something has changed
2016-05-02 14:26:16 +02:00
Cedric Roux
69e2a15e31
prepare container to deal with growable children
2016-04-29 19:40:31 +02:00
Cedric Roux
3bba991e77
some work on text list
2016-04-29 17:04:53 +02:00
Cedric Roux
2fb9ec7d54
background and foreground colors are first class citizens!
2016-04-29 15:53:13 +02:00
Cedric Roux
f2195ba4e3
notification system (from user input to application basically)
2016-04-29 15:51:44 +02:00
Cedric Roux
624aba07dd
new function text_list_del
2016-04-28 14:54:14 +02:00
Cedric Roux
8114422fc5
plot points in XY plot
2016-04-11 18:35:43 +02:00
Cedric Roux
2bb04f0105
first version of the generic gui for the tracer
2016-04-11 11:18:26 +02:00