Browse Source

Misc

tags/1.9.4
falkTX 11 years ago
parent
commit
b1dbb3828c
12 changed files with 43 additions and 33 deletions
  1. +4
    -1
      source/modules/utils/CarlaLogThread.hpp
  2. +4
    -2
      source/modules/widgets/Makefile
  3. +1
    -1
      source/modules/widgets/digitalpeakmeter.cpp
  4. +6
    -5
      source/modules/widgets/digitalpeakmeter.hpp
  5. +1
    -1
      source/modules/widgets/ledbutton.cpp
  6. +6
    -5
      source/modules/widgets/ledbutton.hpp
  7. +1
    -1
      source/modules/widgets/paramspinbox.cpp
  8. +6
    -5
      source/modules/widgets/paramspinbox.hpp
  9. +1
    -1
      source/modules/widgets/pixmapdial.cpp
  10. +6
    -5
      source/modules/widgets/pixmapdial.hpp
  11. +1
    -1
      source/modules/widgets/pixmapkeyboard.cpp
  12. +6
    -5
      source/modules/widgets/pixmapkeyboard.hpp

+ 4
- 1
source/modules/utils/CarlaLogThread.hpp View File

@@ -19,7 +19,7 @@
#define CARLA_LOG_THREAD_HPP_INCLUDED #define CARLA_LOG_THREAD_HPP_INCLUDED


#include "CarlaBackend.hpp" #include "CarlaBackend.hpp"
#include "CarlaUtils.hpp"
#include "CarlaJuceUtils.hpp"


#include <fcntl.h> #include <fcntl.h>
#include <QtCore/QThread> #include <QtCore/QThread>
@@ -133,6 +133,9 @@ private:


CallbackFunc fCallback; CallbackFunc fCallback;
void* fCallbackPtr; void* fCallbackPtr;

CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(LogThread)
}; };


// ----------------------------------------------------------------------- // -----------------------------------------------------------------------


+ 4
- 2
source/modules/widgets/Makefile View File

@@ -24,12 +24,14 @@ FILES = \
moc_paramspinbox.cpp \ moc_paramspinbox.cpp \
moc_pixmapkeyboard.cpp moc_pixmapkeyboard.cpp


OBJS = \
OBJS = \
digitalpeakmeter.cpp.o \ digitalpeakmeter.cpp.o \
ledbutton.cpp.o \ ledbutton.cpp.o \
paramspinbox.cpp.o \ paramspinbox.cpp.o \
pixmapdial.cpp.o \ pixmapdial.cpp.o \
pixmapkeyboard.cpp.o \
pixmapkeyboard.cpp.o

OBJS += \
moc_paramspinbox.cpp.o \ moc_paramspinbox.cpp.o \
moc_pixmapkeyboard.cpp.o moc_pixmapkeyboard.cpp.o




+ 1
- 1
source/modules/widgets/digitalpeakmeter.cpp View File

@@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#include "digitalpeakmeter.hpp" #include "digitalpeakmeter.hpp"


+ 6
- 5
source/modules/widgets/digitalpeakmeter.hpp View File

@@ -12,11 +12,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#ifndef __DIGITALPEAKMETER_HPP__
#define __DIGITALPEAKMETER_HPP__
#ifndef DIGITALPEAKMETER_HPP_INCLUDED
#define DIGITALPEAKMETER_HPP_INCLUDED


#include "CarlaJuceUtils.hpp" #include "CarlaJuceUtils.hpp"


@@ -74,7 +74,8 @@ private:
float* fChannelsData; float* fChannelsData;
float* fLastValueData; float* fLastValueData;


CARLA_LEAK_DETECTOR(DigitalPeakMeter)
CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(DigitalPeakMeter)
}; };


#endif // __DIGITALPEAKMETER_HPP__
#endif // DIGITALPEAKMETER_HPP_INCLUDED

+ 1
- 1
source/modules/widgets/ledbutton.cpp View File

@@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#include "ledbutton.hpp" #include "ledbutton.hpp"


+ 6
- 5
source/modules/widgets/ledbutton.hpp View File

@@ -12,11 +12,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#ifndef __LEDBUTTON_HPP__
#define __LEDBUTTON_HPP__
#ifndef LEDBUTTON_HPP_INCLUDED
#define LEDBUTTON_HPP_INCLUDED


#include "CarlaJuceUtils.hpp" #include "CarlaJuceUtils.hpp"


@@ -54,7 +54,8 @@ private:
QPixmap fPixmap; QPixmap fPixmap;
QRectF fPixmapRect; QRectF fPixmapRect;


CARLA_LEAK_DETECTOR(LEDButton)
CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(LEDButton)
}; };


#endif // __LEDBUTTON_HPP__
#endif // LEDBUTTON_HPP_INCLUDED

+ 1
- 1
source/modules/widgets/paramspinbox.cpp View File

@@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#include "paramspinbox.hpp" #include "paramspinbox.hpp"


+ 6
- 5
source/modules/widgets/paramspinbox.hpp View File

@@ -12,11 +12,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#ifndef __PARAMSPINBOX_HPP__
#define __PARAMSPINBOX_HPP__
#ifndef PARAMSPINBOX_HPP_INCLUDED
#define PARAMSPINBOX_HPP_INCLUDED


#include "CarlaJuceUtils.hpp" #include "CarlaJuceUtils.hpp"


@@ -68,7 +68,8 @@ private:


TextCallback* m_textCall; TextCallback* m_textCall;


CARLA_LEAK_DETECTOR(ParamProgressBar)
CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(ParamProgressBar)
}; };


#endif // #define __PARAMSPINBOX_HPP__
#endif // PARAMSPINBOX_HPP_INCLUDED

+ 1
- 1
source/modules/widgets/pixmapdial.cpp View File

@@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#include "pixmapdial.hpp" #include "pixmapdial.hpp"


+ 6
- 5
source/modules/widgets/pixmapdial.hpp View File

@@ -12,11 +12,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#ifndef __PIXMAPDIAL_HPP__
#define __PIXMAPDIAL_HPP__
#ifndef PIXMAPDIAL_HPP_INCLUDED
#define PIXMAPDIAL_HPP_INCLUDED


#include "CarlaJuceUtils.hpp" #include "CarlaJuceUtils.hpp"


@@ -93,7 +93,8 @@ private:


int fWidth, fHeight, fSize, fCount; int fWidth, fHeight, fSize, fCount;


CARLA_LEAK_DETECTOR(PixmapDial)
CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(PixmapDial)
}; };


#endif // __PIXMAPDIAL_HPP__
#endif // PIXMAPDIAL_HPP_INCLUDED

+ 1
- 1
source/modules/widgets/pixmapkeyboard.cpp View File

@@ -12,7 +12,7 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#include "pixmapkeyboard.hpp" #include "pixmapkeyboard.hpp"


+ 6
- 5
source/modules/widgets/pixmapkeyboard.hpp View File

@@ -12,11 +12,11 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details. * GNU General Public License for more details.
* *
* For a full copy of the GNU General Public License see the GPL.txt file
* For a full copy of the GNU General Public License see the doc/GPL.txt file.
*/ */


#ifndef __PIXMAPKEYBOARD_HPP__
#define __PIXMAPKEYBOARD_HPP__
#ifndef PIXMAPKEYBOARD_HPP_INCLUDED
#define PIXMAPKEYBOARD_HPP_INCLUDED


#include "CarlaJuceUtils.hpp" #include "CarlaJuceUtils.hpp"


@@ -87,7 +87,8 @@ private:
bool _isNoteBlack(int note) const; bool _isNoteBlack(int note) const;
const QRectF& _getRectFromMidiNote(int note) const; const QRectF& _getRectFromMidiNote(int note) const;


CARLA_LEAK_DETECTOR(PixmapKeyboard)
CARLA_PREVENT_HEAP_ALLOCATION
CARLA_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR(PixmapKeyboard)
}; };


#endif // __PIXMAPKEYBOARD_HPP__
#endif // PIXMAPKEYBOARD_HPP_INCLUDED

Loading…
Cancel
Save