Werner Almesberger
|
159a128d28
|
ubb-la.c/gui.c: show units in light blue to better separate them from numbers
|
2013-01-31 02:57:27 -03:00 |
|
Werner Almesberger
|
06c5f6b0fa
|
ubb-la/gui.c (textf): use vsnprintf+valloca instead of vasprintf
This way, we don't malloc/free all the time, which could lead to more
memory fragmentation than alloca at roughly the same stack location.
|
2013-01-31 02:50:01 -03:00 |
|
Werner Almesberger
|
52c3dcc16a
|
ubb-la/gui.c (textf): vasprintf ain't alloca, so we need to free()
|
2013-01-31 01:45:42 -03:00 |
|
Werner Almesberger
|
cdcfb6c181
|
ubb-la/gui.c: show division size (in samples and seconds)
|
2013-01-31 01:21:56 -03:00 |
|
Werner Almesberger
|
8d81b584a0
|
ubb-la/gui.c (XWIDTH): move view width into macro instead of open-coding it
|
2013-01-31 01:11:18 -03:00 |
|
Werner Almesberger
|
acd9fd6673
|
ubb-la/gui.c: show horizontal divisions
|
2013-01-31 01:09:42 -03:00 |
|
Werner Almesberger
|
5bb086e0e8
|
ubb-la/: display sample rate and sample interval in the GUI
|
2013-01-31 01:08:39 -03:00 |
|
Werner Almesberger
|
e1be0f242b
|
ubb-la/gui.c: display a small map of buffer and view
|
2013-01-31 00:07:32 -03:00 |
|
Werner Almesberger
|
f99b62636f
|
ubb-la/gui.c: label channels
|
2013-01-30 23:19:09 -03:00 |
|
Werner Almesberger
|
0925b0f060
|
ubb-la/gui.c: add section titles and reorder some of the functions
|
2013-01-30 22:07:31 -03:00 |
|
Werner Almesberger
|
533e9643ac
|
ubb-la/gui.c (DEBUG): make debugging fprintfs optional via DEBUG macro
|
2013-01-30 21:25:47 -03:00 |
|
Werner Almesberger
|
435144223d
|
ubb-la/gui.c (gui): make panning zoom-dependent (2 samples at maximum zoom)
|
2013-01-30 21:08:25 -03:00 |
|
Werner Almesberger
|
4fb2a8cbee
|
ubb-la/gui.c (gui_init): enable keyboard repeat
|
2013-01-30 20:55:58 -03:00 |
|
Werner Almesberger
|
c702fc0e90
|
ubb-la/gui.c: add horizontal panning (WIP)
|
2013-01-30 20:51:22 -03:00 |
|
Werner Almesberger
|
12a1808e09
|
ubb-la/gui.c (gui): fix the event loop to properly ignore unrecognized events
|
2013-01-30 20:37:42 -03:00 |
|
Werner Almesberger
|
1b0a2cff51
|
ubb-la/gui.c: use powers of two for zoom and integer arithmetic (WIP)
This looks better and avoids the risk of math issues.
|
2013-01-30 20:37:10 -03:00 |
|
Werner Almesberger
|
94e099eebc
|
ubb-la/gui.c: experimental GUI code (WIP)
|
2013-01-30 14:38:54 -03:00 |
|