Added frame to the VN Textbox
This commit is contained in:
@ -7,8 +7,8 @@
|
||||
|
||||
#include "vnconversation.h"
|
||||
|
||||
void vnConversationInit(vnconversation_t *convo, font_t *font) {
|
||||
vnTextBoxInit(&convo->textbox, font);
|
||||
void vnConversationInit(vnconversation_t *convo, font_t *font, texture_t *tex) {
|
||||
vnTextBoxInit(&convo->textbox, font, tex);
|
||||
queueInit(&convo->actionQueue);
|
||||
}
|
||||
|
||||
|
@ -17,8 +17,9 @@
|
||||
* then ensure you call vnConversationNext to begin the conversation.
|
||||
* @param convo Conversation to initialize.
|
||||
* @param font Font to initialize with.
|
||||
* @param tex GUI Texture.
|
||||
*/
|
||||
void vnConversationInit(vnconversation_t *convo, font_t *font);
|
||||
void vnConversationInit(vnconversation_t *convo, font_t *font, texture_t *text);
|
||||
|
||||
/**
|
||||
* Add a text element to the conversation.
|
||||
|
Reference in New Issue
Block a user