Commit Graph

2440 Commits (c58dabc9c9aaa26e1d273e62c8e7508a0a3f7690)

Author SHA1 Message Date
inmarket 05354e057d Had to revert the new method of orientation support for SSD1306.
Unfortunately the new method immediately flipped orientation rather than just affecting drawing operations.
As both methods can be supported by the hardware/code we always use drawing only orientation support.
Updated the new fill routine to match.
Also fixed color black bug and moved variable definitions to start of a block as is required by pure C compilers.
2014-12-16 23:07:14 +10:00
inmarket 16ebf86013 Fix 1 pixel display error in checkbox for text on left rendering.
Also add better comments to code.
2014-12-16 23:01:55 +10:00
Joel Bodenman ecc6201c74 Merged in ambihelical/ugfx/ssd1306 (pull request #16)
Further SSD1306 driver improvements
2014-12-15 23:28:18 +01:00
ergosys 3811a03239 Merge branch 'master' into ssd1306 2014-12-15 14:00:24 -08:00
ambihelical 1707fbb85c Merged Tectu/ugfx into master 2014-12-15 13:47:12 -08:00
inmarket 17b921204c Split SSD1306 spi board example into 2 files.
Revert chibios 3.x use of bool as a base type for bool_t. back to char
bool is available on c++ compilers only!!!!
2014-12-15 18:32:45 +10:00
inmarket 3936c63061 Updates for the EMBEST board and a small fix to the SSD2119 driver. 2014-12-15 18:17:52 +10:00
ergosys 555fda2170 Implement "hardware" fills
Implement hardware fills by drawing on the framebuffer. This provides a
significant performance boost for filled geometric primitives and a
small one for font drawing.  Tested at all orientations.
2014-12-13 15:09:37 -08:00
ergosys d3b3020a07 use gdispColor2Native to get fill color 2014-12-13 15:09:37 -08:00
ergosys 9618d7917b Partially handle screen rotation using remapping
Use row and column remapping to change either row or column addressing
for each orientation.  This removes the need to reverse the drawing
direction of either x or y in the drawing routines.  However in the 90
and 270 case x and y must still be swapped.

Also, rename the SSD1306 remapping command names so they are more
descriptive.
2014-12-13 15:09:37 -08:00
ambihelical 7285477f13 Merged Tectu/ugfx into master 2014-12-13 15:06:12 -08:00
Joel Bodenman 262db64844 Merged in ambihelical/ugfx/ssd1306 (pull request #15)
Some improvements to the SSD1306 driver
2014-12-13 15:57:45 +01:00
inmarket 21a26eb762 Updates to slider demo 2014-12-13 18:34:07 +10:00
inmarket d7896289d1 Updates to the slider to fix positioning issues.
Also fixes negative ranges, ranges > 65536 and very small ranges.
2014-12-13 18:33:53 +10:00
ergosys bdfafbcf9f slightly faster flush and clear 2014-12-12 16:21:09 -08:00
ergosys cb115186c5 Improve SSD1306 spi example
Don't acquire bus for every command
Use SPI driver to control chip select
Use SPI driver start/stop only when bus acquired for lower power usage
Throttle SPI speed based on processor clock
2014-12-12 16:21:08 -08:00
ergosys 3b12678e6e add hardware clear 2014-12-12 16:21:08 -08:00
ergosys 96a5f5fbea fix GDISP_ROTATE_270 case 2014-12-12 16:21:08 -08:00
ergosys 9d0b7a0bbe fix bool typedef for latest v3 source 2014-12-12 16:21:08 -08:00
ergosys a43a9b25f6 add missing bus acquisition 2014-12-12 16:21:08 -08:00
Joel Bodenmann ce9503a118 updated docs/release.txt 2014-12-06 12:02:09 +01:00
Joel Bodenmann 7af2185bcf Updating .gitignore 2014-12-06 11:57:03 +01:00
inmarket 5bf2b8678a Extended slider events. Updated the demo to match.
Actually reduced code size :)
2014-12-06 15:48:47 +10:00
inmarket 4931f39a0d Syntax Error Fix 2014-12-04 21:41:34 +10:00
Joel Bodenmann 30b47f1581 Fixing wrong font name in DejaVuSans20_aa font 2014-11-29 11:13:44 +01:00
Joel Bodenmann 0718866107 Fixing bug in gdispGDrawRoundedBox() 2014-11-29 11:08:32 +01:00
Joel Bodenmann c2bf62ff19 More doxygen fixes 2014-11-28 20:01:34 +01:00
Joel Bodenmann c90879ec4b Doxygen fixes 2014-11-28 19:55:36 +01:00
Joel Bodenmann 8e54d01db1 Fixing Doxygen 2014-11-28 19:47:57 +01:00
Joel Bodenmann d54cf82d66 Fixing comment 2014-11-28 18:43:06 +01:00
Joel Bodenmann add06d8cb0 Whitespaces 2014-11-28 18:42:04 +01:00
Joel Bodenmann 181ba3807f Adding /demos/modules/gos/threads_advanced 2014-11-28 18:41:11 +01:00
Joel Bodenmann b799e16689 GOS doxygen fix 2014-11-28 11:37:07 +01:00
Joel Bodenmann ba85d77dda Fixing doxygen for GOS module 2014-11-27 22:59:28 +01:00
Joel Bodenmann f3d64c62b9 Cleaning up /demos/modules/gos/threads
Note: use GFILE print implementations here instead!!
2014-11-27 22:42:34 +01:00
Joel Bodenmann 64fd92ab7d addings /demos/gos/threads 2014-11-27 21:54:26 +01:00
Joel Bodenmann 1bf48cca95 Doxygen version number fix 2014-11-27 18:26:14 +01:00
inmarket 260f83b94a Doxygen spelling fixes 2014-11-26 13:53:57 +10:00
inmarket e6bf427775 Doc updates for multiple mouse support 2014-11-26 13:21:36 +10:00
inmarket bd3a58ccfc Fix some extern structure definitions that cause problems with some compilers 2014-11-26 13:02:47 +10:00
Joel Bodenmann 746527632c Opening development on version 2.3 2014-11-23 15:19:55 +01:00
Joel Bodenmann e3776755a5 Stable release v2.2 2014-11-23 15:15:48 +01:00
Joel Bodenmann 3405741fec Adjusting docs/releases.txt for release 2014-11-23 15:12:26 +01:00
Joel Bodenmann d304a54917 Removing docs/roadmap.txt 2014-11-23 15:11:54 +01:00
inmarket 254a88a6ab Fixed absolute path make problem under windows 2014-11-23 13:08:54 +10:00
Joel Bodenmann af44bbc9d4 Fixing doxygen 2014-11-23 02:38:38 +01:00
inmarket 87242d0a6c Add MatrixFloat2D and MatrixFixed2D operations to GMISC.
Add polygon demo
2014-11-21 17:09:44 +10:00
Joel Bodenmann 74c23de1d2 docs 2014-11-17 21:52:15 +01:00
Joel Bodenmann bac62a3270 Fixing compiler error 2014-11-17 21:49:38 +01:00
Joel Bodenmann fe976dac66 Fixing font names of newly added DejaVuSans20 and DejaVuSans20_aa 2014-11-17 21:42:03 +01:00