Skip to content

Commit

Permalink
Add viewport event (#16)
Browse files Browse the repository at this point in the history
  • Loading branch information
tribal-tec authored Nov 21, 2016
1 parent 638840b commit e8c6c79
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

# git master

* [#16](https://github.com/HBPVis/Lexis/pull/16):
Added lexis/render/Viewport
* [#13](https://github.com/HBPVis/Lexis/pull/13):
Added lexis/render/Stream for Deflect stream parameters
* [#9](https://github.com/HBPVis/Lexis/pull/9):
Expand Down
1 change: 1 addition & 0 deletions lexis/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ set(LEXIS_RENDER_FBS
${CMAKE_CURRENT_SOURCE_DIR}/render/lookOut.fbs
${CMAKE_CURRENT_SOURCE_DIR}/render/lookupTable1D.fbs
${CMAKE_CURRENT_SOURCE_DIR}/render/stream.fbs
${CMAKE_CURRENT_SOURCE_DIR}/render/viewport.fbs
)
zerobuf_generate_cxx(LEXIS_RENDER ${LEXIS_RENDER_DIR} ${LEXIS_RENDER_FBS})

Expand Down
12 changes: 12 additions & 0 deletions lexis/render/viewport.fbs
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
// Copyright (c) 2016, Human Brain Project
// [email protected]
//

namespace lexis.render;

// Viewport in pixels used for rendering
table Viewport
{
size: [uint:2]; // tuple of width, height in pixels
}

0 comments on commit e8c6c79

Please sign in to comment.