Skip to content

Commit 9e21073

Browse files
committed
Fix linux compilation
1 parent 6b8ea88 commit 9e21073

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

src/GUI/EDVoiceGUI.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class EDVoiceGUI
4343
WindowSystem* _windowSystem;
4444

4545
WindowBorderless* _mainWindow;
46-
WindowOverlay* _overlayWindow;
46+
// WindowOverlay* _overlayWindow;
4747

4848
bool _hasError = false;
4949
std::string _logErrStr;

src/GUI/Window/WindowBorderless.cpp

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ void WindowBorderless::openVoicePackFileDialog(void* userdata, openedFile callba
121121

122122
#ifdef USE_SDL
123123

124-
void WindowMain::sdlWndProc(SDL_Event& event)
124+
void WindowBorderless::sdlWndProc(SDL_Event& event)
125125
{
126126
ImGui_ImplSDL3_ProcessEvent(&event);
127127

@@ -158,9 +158,9 @@ void WindowMain::sdlWndProc(SDL_Event& event)
158158
}
159159

160160

161-
SDL_HitTestResult SDLCALL WindowMain::sdlHitTest(SDL_Window* win, const SDL_Point* area, void* data)
161+
SDL_HitTestResult SDLCALL WindowBorderless::sdlHitTest(SDL_Window* win, const SDL_Point* area, void* data)
162162
{
163-
WindowMain* obj = (WindowMain*)data;
163+
WindowBorderless* obj = (WindowBorderless*)data;
164164
assert(win == obj->_sdlWindow);
165165

166166
int width, height;
@@ -209,7 +209,7 @@ SDL_HitTestResult SDLCALL WindowMain::sdlHitTest(SDL_Window* win, const SDL_Poin
209209
}
210210

211211

212-
void SDLCALL WindowMain::sdlCallbackOpenFile(void* userdata, const char* const* filelist, int filter)
212+
void SDLCALL WindowBorderless::sdlCallbackOpenFile(void* userdata, const char* const* filelist, int filter)
213213
{
214214
OpenFileCbData* obj = (OpenFileCbData*)userdata;
215215

0 commit comments

Comments
 (0)