Mike
|
1b234b7870
|
Add some basic error checking on file open, fixes #11
|
2015-06-25 21:29:25 +01:00 |
|
Mike
|
1288073e90
|
Move wxImagePanel to own files
|
2015-06-25 20:46:30 +01:00 |
|
Mike
|
8c40657588
|
Workaround for GetClientSize changing between OnSize and OnDraw when horiz. scrollbar disappears
|
2015-06-25 20:10:29 +01:00 |
|
Mike Walters
|
158b195be9
|
Zoom from centre of viewport (not top)
|
2015-06-25 00:02:41 +01:00 |
|
Mike Walters
|
a9152be753
|
log10 + contrast tweaks
|
2015-06-24 21:19:44 +01:00 |
|
Mike Walters
|
2335fcd12e
|
Use unique_ptr for bitmap
|
2015-06-24 13:26:45 +01:00 |
|
Mike Walters
|
858eafd91b
|
Don't duplicate buffer allocation stuff
|
2015-06-24 13:22:34 +01:00 |
|
Mike Walters
|
a5bb994eb0
|
Why are these here?
|
2015-06-24 13:12:18 +01:00 |
|
Mike Walters
|
1b9f6c84ca
|
Don't realloc wxBitmap every paint
|
2015-06-24 12:55:05 +01:00 |
|
Mike Walters
|
39bbb22b5a
|
Use OnSize event to realloc buffer, rather than checking size on paint
|
2015-06-24 12:54:07 +01:00 |
|
Philpax
|
0cbde71cda
|
Fixed memory leak by replacing malloc with realloc
|
2015-06-23 21:42:40 +10:00 |
|
Mike Walters
|
c9aea0e110
|
Set new viewport size after zooming
|
2015-06-22 21:29:00 +01:00 |
|
Mike Walters
|
97178f6473
|
Use malloc for view data
|
2015-06-22 21:29:00 +01:00 |
|
Mike
|
6f9cb4b061
|
Adjust scroll position when zooming, sorta fixes #8
|
2015-06-22 02:39:35 +01:00 |
|
Mike Walters
|
db336f2fa0
|
Hook up zooming to ctrl + mousewheel
|
2015-06-21 23:54:09 +01:00 |
|
Mike Walters
|
8b64973c47
|
Add command-line arg for FFT size
|
2015-06-21 22:49:37 +01:00 |
|
Mike Walters
|
789a57d6d9
|
Remove old uses of FFT_SIZE
|
2015-06-21 22:49:23 +01:00 |
|
Mike Walters
|
c8940932fb
|
Abstract out data loading/processing
Current super naive, eats all your CPU on repaint
ref #7
|
2015-06-21 22:42:24 +01:00 |
|
Mike Walters
|
6acb8bd007
|
Clamp pixel value
|
2015-06-21 22:19:53 +01:00 |
|
Mike
|
d0917faab1
|
Rename project
|
2015-06-14 13:36:02 +01:00 |
|
Mike
|
a223915aa9
|
Tweak usage text
|
2015-06-14 13:25:04 +01:00 |
|
Philpax
|
e53eb4ebf3
|
Fixed hardcoded filename - now accepts filename as first argument
|
2015-06-14 22:09:01 +10:00 |
|
Mike
|
0fd1907def
|
Apply Hann window
|
2015-06-13 20:12:39 +01:00 |
|
Mike
|
a282013b4a
|
Centre spectrum, fixes #1
|
2015-06-13 18:47:54 +01:00 |
|
Mike
|
341c2bcc44
|
Remove status bar for now
|
2015-06-13 18:45:48 +01:00 |
|
Mike
|
f25d676c0a
|
Don't hardcode file size
|
2015-06-13 17:18:08 +01:00 |
|
Mike
|
0cd203730e
|
Nicer colour map
|
2015-06-13 17:17:52 +01:00 |
|
Mike
|
51de946e3d
|
Draw in scrolled window, process more of test file
|
2015-06-13 13:40:57 +01:00 |
|
Mike
|
f572c23410
|
Cleanup
|
2015-06-13 11:00:48 +01:00 |
|
Mike
|
214efe1348
|
Draw an image!
|
2015-06-13 10:37:59 +01:00 |
|
Mike
|
2604cf4caf
|
it begins.
|
2015-06-10 00:19:39 +01:00 |
|