Convert visual layers to scene nodes.
This commit is contained in:
parent
798cb365d7
commit
3e53bd9e00
64 changed files with 863 additions and 551 deletions
|
@ -1,6 +1,5 @@
|
|||
#include "XcbTextInterface.h"
|
||||
|
||||
#include "VisualLayer.h"
|
||||
#include "Color.h"
|
||||
|
||||
#include <string.h>
|
||||
|
@ -35,9 +34,8 @@ void XcbTextInterface::AddTextElement(xcb_connection_t* connection,
|
|||
|
||||
/* draw the text */
|
||||
const auto content = textElement->getContent();
|
||||
Pixel loc = textElement->getLocation();
|
||||
xcb_image_text_8(connection, content.length(), window, gc,
|
||||
loc.GetX(), loc.GetY(), content.c_str());
|
||||
//Pixel loc = textElement->getLocation();
|
||||
// xcb_image_text_8(connection, content.length(), window, gc, loc.GetX(), loc.GetY(), content.c_str());
|
||||
|
||||
/* free the gc */
|
||||
xcb_free_gc(connection, gc);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue