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
34e3945249
bugfix - one needs to translate to local coordinates
2016-05-19 17:23:28 +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
48f0c341a1
maybe bugfix, maybe useless: return wanted size if allocated size
...
is zero in get_dimensions for xy_plot
2016-05-13 15:27:23 +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
24af122475
bugfix: calloc may fail
2016-05-10 11:19:56 +02:00
Cedric Roux
b04a448b62
bugfix: calloc arguments' wrong order
2016-05-10 10:01:45 +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
a74f865917
more logical handling of x/y in button events
...
click at x/y refers to the toplevel window and the widget knows
its own x/y position, so let's keep the x/y of the click as is
and let the down widget handle translation by itself
something like that
2016-05-04 17:13:38 +02:00
Cedric Roux
e299a7e4d3
bugfix - it may be that the container has only one child when we delete it
2016-05-04 16:04:16 +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
d4a4bba32e
minor fix - remove unused variable
2016-05-04 15:55:24 +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
0d0756c0c9
typo
2016-05-03 16:33:50 +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
23ec84ef6b
option -debug-gui to textlog
2016-05-02 12:09:45 +02:00
Cedric Roux
3a622778e5
basic event compression
2016-05-02 11:26:54 +02:00
Cedric Roux
e4e4647345
cleanup logging in the GUI
2016-05-02 09:47:30 +02:00
Cedric Roux
d079dadb95
changing the growable attribute of a child requires a repack, not
...
just "dirty"
2016-05-01 17:36:24 +02:00
Cedric Roux
bd50539fda
Revert "instrument X using gcc's -finstrument-functions"
...
This reverts commit 4911b107da .
The idea was to keep the stuff in the git history.
2016-05-01 14:13:15 +02:00
Cedric Roux
4911b107da
instrument X using gcc's -finstrument-functions
...
used to debug locking
2016-05-01 14:10:59 +02:00
Cedric Roux
951882adaa
redraw window when receiving MapNotify (not sure if correct)
2016-05-01 14:09:20 +02:00
Cedric Roux
6ffa65f1d2
get rid of X locks, there were missing glock/gunlock here and there
2016-05-01 14:06:20 +02:00
Cedric Roux
018da05897
container deals with growable children
2016-04-29 20:10:19 +02:00
Cedric Roux
69e2a15e31
prepare container to deal with growable children
2016-04-29 19:40:31 +02:00
Cedric Roux
53fd31ef53
bugfix: hints are not valid anymore after adding a child to a container
2016-04-29 18:46:43 +02:00
Cedric Roux
88bef83d8b
X threading handling
2016-04-29 18:29:04 +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
e742718c2d
handle button press/release
...
first version, to be finished
2016-04-28 17:10:55 +02:00
Cedric Roux
c9f51868e2
add x_draw_clipped_string and use it in the text_list gui
2016-04-28 15:50:04 +02:00
Cedric Roux
624aba07dd
new function text_list_del
2016-04-28 14:54:14 +02:00
Cedric Roux
a1aa665841
flip vertically XY plot, it was plotted the other way around
2016-04-12 11:45:15 +02:00
Cedric Roux
71b5c59fd5
minor modification
2016-04-11 18:43:17 +02:00
Cedric Roux
8114422fc5
plot points in XY plot
2016-04-11 18:35:43 +02:00
Cedric Roux
98d2cf8b06
add X functions to plot points
2016-04-11 18:34:26 +02:00
Cedric Roux
062f7fad97
add clear function to the gui
2016-04-11 18:31:37 +02:00
Cedric Roux
3e33416517
fix container size allocation
2016-04-11 18:02:03 +02:00