Skip to content

Commit

Permalink
move stb_textedit.h into thirdparty subfolder
Browse files Browse the repository at this point in the history
  • Loading branch information
scheffle committed Nov 1, 2024
1 parent 735b915 commit ab663a1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions vstgui/lib/ctexteditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ using CharT = char16_t;
#define STB_TEXTEDIT_UNDOSTATECOUNT 0
#define STB_TEXTEDIT_UNDOCHARCOUNT 0

#include "platform/common/stb_textedit.h"
#include "../thirdparty/stb_textedit.h"

#ifdef __clang__
#pragma clang diagnostic push
Expand Down Expand Up @@ -478,7 +478,7 @@ struct TextEditorView : public CView,
#define STB_TEXTEDIT_GETWIDTH_NEWLINE -1.f

#define STB_TEXTEDIT_IMPLEMENTATION
#include "platform/common/stb_textedit.h"
#include "../thirdparty/stb_textedit.h"
#undef STB_TEXTEDIT_IMPLEMENTATION

//------------------------------------------------------------------------
Expand Down
4 changes: 2 additions & 2 deletions vstgui/lib/platform/common/generictextedit.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ using STB_CharT = char;
#define STB_TEXTEDIT_STRING STBTextEditView
#define STB_TEXTEDIT_KEYTYPE uint32_t

#include "stb_textedit.h"
#include "../../../thirdparty/stb_textedit.h"

//-----------------------------------------------------------------------------
class STBTextEditView
Expand Down Expand Up @@ -176,7 +176,7 @@ class STBTextEditView
#define STB_TEXTEDIT_INSERTCHARS STBTextEditView::insertChars

#define STB_TEXTEDIT_IMPLEMENTATION
#include "stb_textedit.h"
#include "../../../thirdparty/stb_textedit.h"
#undef STB_TEXTEDIT_IMPLEMENTATION

//-----------------------------------------------------------------------------
Expand Down
File renamed without changes.

0 comments on commit ab663a1

Please sign in to comment.