Romain Goyet
5de28e01db
Migrate Kandinsky to C++
...
Change-Id: I2752a8db84ad0bb817119cf6c2993c1622621150
2016-07-21 13:42:32 +02:00
Romain Goyet
30aa62e3c5
Escher: Introduce the TiledView
...
Change-Id: I97d612cf89bd9cf45f8b440881918b9626cd65f6
2016-07-21 11:32:33 +02:00
Romain Goyet
8e4b1666bb
Kandinsky: KDFillRect takes a pattern, always
...
Change-Id: I32113345d742f21c0e238c1707bcee0116694d6f
2016-07-05 13:32:47 +02:00
Romain Goyet
0843fcd62c
Kandinsky: Use a KDContext
...
Change-Id: I91055c7b59586b0dec08a426a9c617a12d8128dc
2016-07-05 10:36:48 +02:00
Romain Goyet
dbebe4aa8a
Kandinsky: KDRectUnion
...
Change-Id: Ib328275ab3a6fc6da9bc472dffe37c9948c727d5
2016-06-20 15:02:57 +02:00
Romain Goyet
bfaa6109b4
Kandinsky: KDDrawingArea uses an origin and a clipping rect
...
Change-Id: Iee99bc0ce12f1c2f675f7ccb6edab579b62eb77c
2016-06-15 15:43:40 +02:00
Romain Goyet
b8a6d662b1
Kandinsky: Add a test for KDRect intersections
...
Change-Id: I98c8ec0d6ed4117e93ec96a05905f5e1eab14d25
2016-06-15 14:47:19 +02:00
Romain Goyet
e280a6e533
Kandinsky: Add KDColorGray
...
Change-Id: Ifc7831df4855f13dd989c896cec72562fe49e7bf
2016-06-14 17:03:49 +02:00
Romain Goyet
e3e9b2ca6b
Kandinsky: Remove an useless line
...
Change-Id: Ic82481248964e637a56c297061249323821d206a
2016-06-13 17:54:41 +02:00
Romain Goyet
e2a6cdff15
Kandinsky: Get rid of KDCoordinateMax
...
Which is annoying to handle, because once you define it you have to
bother with additions overflowing...
Change-Id: I50b19858342c5a2909e3078f1a4167be50210db1
2016-06-13 17:51:17 +02:00
Romain Goyet
2bf599b786
Kandinsky: Introduce KDColorRGB
...
Change-Id: Ic64f2ff9a441580940d37151e190fd0a3d954d8a
2016-06-13 14:04:16 +02:00
Romain Goyet
6ae2412568
liba: Proper definition for 16 bits integers
...
Change-Id: I23bfd6e52eb09470b45e51a80b5b3320ee4f616f
2016-06-13 13:13:19 +02:00
Romain Goyet
80296e6448
Escher: use ion_fill_rect
...
Change-Id: Ibedac8cb7da905d5cfada6dbbce46cac4bab2eae
2016-06-10 18:30:19 +02:00
Romain Goyet
b3b6e6804f
Kandinsky: Define drawing_area.h
...
Change-Id: I4fa0c1c0b900c7ba85e3ad2deeeedb5fc1ceb11a
2016-06-10 18:13:15 +02:00
Romain Goyet
4540fa8faa
Kandinsky: Use KDCoordinateMax
...
Change-Id: I2b00caec2919496c0b69313f2b4a24b8c69688da
2016-05-31 15:45:34 +02:00
Romain Goyet
3c3c890179
Kandinsky: Fix the default drawing area
...
Change-Id: I194d8cc3055810b6dd8fd59d7ccd402eb1a97cab
2016-04-25 14:05:51 +02:00
Romain Goyet
74c3f74003
Kandinsky: Introduce KDSetDrawingArea
...
This restricts the drawing area and sets the drawing origin
Change-Id: I7911338ade6665a8be3b180912339da2430b0672
2016-04-25 14:04:14 +02:00
Romain Goyet
61854d118e
Kandinsky: Add KDRectIntersect and update KDRectIntersection
...
One gives a boolean, the other the actual KDRect
Change-Id: I5a2e6d1110f0ad111ac2f3a46dcd072e72ea786d
2016-04-25 14:01:51 +02:00
Romain Goyet
cf17758081
Kandinsky: Add KDRect intersection
...
Change-Id: I61e28dcf742fad65c88d470305e5a6e33c8cad6b
2016-04-25 12:06:41 +02:00
Felix Raimundo
ff83c8c4da
Draw rectangles with lines.
...
Change-Id: I257ea485e67d2cc1c2ad5f9405fe507f3f4d00f1
2016-04-04 11:05:49 +02:00
Felix Raimundo
418d081f6e
Add the trig menu.
...
Change-Id: Ifbe2518cb3a089dace82d56031987fbc7a2e6181
2016-03-29 13:41:36 +02:00
Felix Raimundo
e0184ba975
Add a flag for inversing the intensity in char drawings.
...
Change-Id: Ibc22dd8aeaf95ef0aa49d2f9aa8867c47324ce80
2016-03-29 13:41:36 +02:00
Félix Raimundo
a18eac8059
Merge "Adds a text_input function to get text."
2016-03-23 18:55:13 +01:00
Felix Raimundo
fd95a7e558
Adds a text_input function to get text.
...
Also removes ion_getchar in favor of ion_get_event.
Change-Id: Id95ea509315185da24fd2a3fe90969da0bd19cfc
2016-03-23 17:31:59 +01:00
Romain Goyet
35228e83af
Define and use HOSTCC
...
Change-Id: If38c488233007e86c2e1e999861836a0ffbbf1e8
2016-03-23 12:35:25 +01:00
Felix Raimundo
80ad6e606b
Removed all warnings, now in Werror
...
Change-Id: I02dbd9fef2c1b5d6aba4ea713f1e1ea305b389bf
2016-03-22 18:56:00 +01:00
Felix Raimundo
d84e139954
Remove some warnings.
...
Change-Id: I5a856edc3ebc7ccb352865d62b2b12cdfc8426ca
2016-03-22 18:39:59 +01:00
Felix Raimundo
45b0ce8256
Add a cursor to the input.
...
Change-Id: I3e1467b5d21c87f095ecaaeb27becddaef0e1370
2016-03-22 18:39:59 +01:00
Felix Raimundo
2778ccea11
Use the same macro for the screen size.
...
The screen size used to be defined by the framebuffer size, this was weird,
the creen size can be defined in the makefile if needed (in order to have different one for
different targets)
Change-Id: Ie294fba5f6cf5e942b4b35847ae8ccd18d3ddf85
2016-03-22 18:39:59 +01:00
Felix Raimundo
b5b11e0120
Pretify the makefile.
...
Change-Id: I14e8d3a5fcdd23b0cd28094d0d1f9d2dc702f86e
2016-03-18 14:33:53 +01:00
Felix Raimundo
fd972bce65
Fix build
...
Change-Id: If550f0db40be8085fade58896f7d8a1b7db2cb47
2016-03-18 10:48:17 +01:00
Romain Goyet
1b9101d1d0
Fix the build
2015-11-12 11:41:52 +01:00
Romain Goyet
f99326bd57
[kandinsky] proper Bresenham line tracing
2015-09-25 12:21:14 +02:00
Romain Goyet
801b244e7a
[kandinsky] KDPointZero and KDRectZero
2015-09-22 16:11:00 +02:00
Romain Goyet
71bae0c7cf
[poincare] Proper layout engine
2015-09-21 23:58:33 +02:00
Romain Goyet
a3f5b5644a
[kandinsky] const-correctness
2015-09-21 10:38:26 +02:00
Romain Goyet
32264c10ab
Remove useless file
2015-09-12 20:24:07 +02:00
Romain Goyet
3baf74824a
[Kandinsky] Generate PNG of rasterized font
2015-09-12 20:23:25 +02:00
Romain Goyet
9d4ca437c1
[ION] Clean the framebuffer subsystem
2015-09-11 23:04:07 +02:00
Romain Goyet
107dd016d0
[Quiz] Support C++ cases
2015-09-03 23:51:47 +02:00
Romain Goyet
2bb2a2af28
[Quiz] Cleanup
2015-09-03 23:15:09 +02:00
Romain Goyet
c494fabc23
Introducing quiz, the testing framework
2015-09-03 22:44:25 +02:00
Romain Goyet
f8048ead96
[Kandinsky] Take the origin into account
2015-09-02 19:23:14 +02:00
Romain Goyet
ef1d927d14
Clean the demo app
2015-09-02 19:00:24 +02:00
Romain Goyet
616af4ed24
Proper rect size in Kandinsky
2015-09-01 12:06:57 +02:00
Romain Goyet
d70d3b4e4a
Kandinsky now uses KDSetPixel for framebuffer access
2015-09-01 11:37:12 +02:00
Romain Goyet
fbe2f808b2
KD_FRAMEBUFFER_HEIGHT
2015-08-31 23:27:37 +02:00
Romain Goyet
b32b47300a
ION re-structuring
2015-08-05 15:52:44 +02:00
Romain Goyet
067c53d705
Multiple platform support
2015-08-03 21:04:13 +02:00
Romain Goyet
6e602c514b
Explain multi-job makefiles
2015-06-01 19:51:44 +02:00