Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: 4DGL-uLCD-SE mbed-rtos mbed
DrawPixel.h@0:15002a72309b, 2015-03-11 (annotated)
- Committer:
- Mkuchnik3
- Date:
- Wed Mar 11 21:33:18 2015 +0000
- Revision:
- 0:15002a72309b
First Commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Mkuchnik3 | 0:15002a72309b | 1 | #ifndef DRAWPIXEL_H |
| Mkuchnik3 | 0:15002a72309b | 2 | #define DRAWPIXEL_H |
| Mkuchnik3 | 0:15002a72309b | 3 | #include "Command.h" |
| Mkuchnik3 | 0:15002a72309b | 4 | #include "uLCD_4DGL.h" |
| Mkuchnik3 | 0:15002a72309b | 5 | class DrawPixel: public Command { |
| Mkuchnik3 | 0:15002a72309b | 6 | private: |
| Mkuchnik3 | 0:15002a72309b | 7 | int x; |
| Mkuchnik3 | 0:15002a72309b | 8 | int y; |
| Mkuchnik3 | 0:15002a72309b | 9 | int color; |
| Mkuchnik3 | 0:15002a72309b | 10 | public: |
| Mkuchnik3 | 0:15002a72309b | 11 | DrawPixel(int x, int y, int color); |
| Mkuchnik3 | 0:15002a72309b | 12 | virtual void execute(uLCD_4DGL* uLCD); |
| Mkuchnik3 | 0:15002a72309b | 13 | }; |
| Mkuchnik3 | 0:15002a72309b | 14 | #endif |