Style related changes.

Image size and alignment.
Go syntax highlighting.
This commit is contained in:
mumak 2018-03-26 15:45:29 +01:00 committed by GitHub
parent b8e5bcfddb
commit 9d21af6c8a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 2 deletions

View File

@ -49,7 +49,9 @@ events, which are then forwarded from the infrastructure layer.
The user interacts with the widget API when constructing individual widgets and
with the container API when placing the widgets onto the dashboard.
![hld](hld.png "High-Level Design")
<p align="center">
<img src="hld.png" width="50%">
</p>
## Detailed design
@ -109,7 +111,7 @@ type Display interface {
The **Event()** method returns the next input event. Different input event
types are defined as follows.
```
```go
// Event represents an input event.
type Event interface {
isEvent()