Browse Source

Move extern in a2c80da to appropriate header file

pull/301/head
Luciano Iam 4 years ago
parent
commit
ff4287e50b
2 changed files with 4 additions and 4 deletions
  1. +4
    -0
      distrho/DistrhoUI.hpp
  2. +0
    -4
      distrho/src/DistrhoUI.cpp

+ 4
- 0
distrho/DistrhoUI.hpp View File

@@ -54,6 +54,10 @@ END_NAMESPACE_DGL

START_NAMESPACE_DISTRHO

#ifdef DISTRHO_OS_MAC
float getMacMainScreenBackingScaleFactor();
#endif

/* ------------------------------------------------------------------------------------------------------------
* DPF UI */



+ 0
- 4
distrho/src/DistrhoUI.cpp View File

@@ -184,10 +184,6 @@ void UI::uiFileBrowserSelected(const char*)
/* ------------------------------------------------------------------------------------------------------------
* UI Resize Handling, internal */

# if DISTRHO_OS_MAC
extern float getMacMainScreenBackingScaleFactor();
# endif // DISTRHO_OS_MAC

void UI::onResize(const ResizeEvent& ev)
{
UIWidget::onResize(ev);


Loading…
Cancel
Save