diff options
Diffstat (limited to 'cpp/termbox/termbox.h')
-rw-r--r-- | cpp/termbox/termbox.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/cpp/termbox/termbox.h b/cpp/termbox/termbox.h index 85a8cf12..65a965fc 100644 --- a/cpp/termbox/termbox.h +++ b/cpp/termbox/termbox.h @@ -133,9 +133,9 @@ extern "C" { * - 'bg' background color and attributes */ struct tb_cell { - uint32_t ch; - uint16_t fg; - uint16_t bg; + uint32_t ch; + uint16_t fg; + uint16_t bg; }; #define TB_EVENT_KEY 1 @@ -148,14 +148,14 @@ struct tb_cell { * TB_EVENT_MOUSE. */ struct tb_event { - uint8_t type; - uint8_t mod; - uint16_t key; - uint32_t ch; - int32_t w; - int32_t h; - int32_t x; - int32_t y; + uint8_t type; + uint8_t mod; + uint16_t key; + uint32_t ch; + int32_t w; + int32_t h; + int32_t x; + int32_t y; }; /* Error codes returned by tb_init(). All of them are self-explanatory, except |