Canvas development: Difference between revisions

Jump to navigation Jump to search
Line 1,957: Line 1,957:
# create a new set of files in $SG_SRC/canvas, named CanvasHttpdPlacement.cxx (hxx)
# create a new set of files in $SG_SRC/canvas, named CanvasHttpdPlacement.cxx (hxx)
# Use the CanvasObjectPlacement files as template, rename those files, change the include guards/comments respectively
# Use the CanvasObjectPlacement files as template, rename those files, change the include guards/comments respectively
# open  FGCanvasSystemAdapter.cxx/hxx in $FG_SRC/Canvas to add helpers for your new placement, e.g. getImage()
# ...
# ...
# open $FG_SRC/Canvas/canvas_mgx.cxx, navgate to <code>CanvasMgr::init()</code>, add your new placement there
# open $FG_SRC/Canvas/canvas_mgx.cxx, navgate to <code>CanvasMgr::init()</code>, add your new placement there

Navigation menu