1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Re-saved all projects.

This commit is contained in:
Lukasz Kozakiewicz 2017-11-22 14:25:18 +01:00
parent e89e220aa6
commit fd6b7de444
138 changed files with 617 additions and 9 deletions

View file

@ -1163,6 +1163,7 @@ add_library( ${BINARY_NAME}
"../../../../../modules/juce_gui_extra/native/juce_mac_AppleRemote.mm"
"../../../../../modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h"
"../../../../../modules/juce_gui_extra/native/juce_mac_NSViewComponent.mm"
"../../../../../modules/juce_gui_extra/native/juce_mac_PushNotifications.cpp"
"../../../../../modules/juce_gui_extra/native/juce_mac_SystemTrayIcon.cpp"
"../../../../../modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm"
"../../../../../modules/juce_gui_extra/native/juce_win32_ActiveXComponent.cpp"
@ -2353,6 +2354,7 @@ set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_l
set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_mac_AppleRemote.mm" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_mac_CarbonViewWrapperComponent.h" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_mac_NSViewComponent.mm" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_mac_PushNotifications.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_mac_SystemTrayIcon.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_mac_WebBrowserComponent.mm" PROPERTIES HEADER_FILE_ONLY TRUE)
set_source_files_properties("../../../../../modules/juce_gui_extra/native/juce_win32_ActiveXComponent.cpp" PROPERTIES HEADER_FILE_ONLY TRUE)

View file

@ -14,7 +14,7 @@
<uses-feature android:glEsVersion="0x00030000" android:required="true"/>
<application android:label="@string/app_name" android:hardwareAccelerated="false">
<activity android:name="PushNotificationsDemo" android:label="@string/app_name" android:configChanges="keyboardHidden|orientation|screenSize"
android:screenOrientation="unspecified" android:launchMode="singleTask">
android:screenOrientation="unspecified" android:launchMode="singleTask" android:hardwareAccelerated="true">
<intent-filter>
<action android:name="android.intent.action.MAIN"/>
<category android:name="android.intent.category.LAUNCHER"/>

View file

@ -1582,6 +1582,27 @@ public class PushNotificationsDemo extends Activity
colorMatrix.set (colorTransform);
paint.setColorFilter (new ColorMatrixColorFilter (colorMatrix));
java.lang.reflect.Method method = null;
try
{
method = getClass().getMethod ("setLayerType", int.class, Paint.class);
}
catch (SecurityException e) {}
catch (NoSuchMethodException e) {}
if (method != null)
{
try
{
int layerTypeNone = 0;
method.invoke (this, layerTypeNone, null);
}
catch (java.lang.IllegalArgumentException e) {}
catch (java.lang.IllegalAccessException e) {}
catch (java.lang.reflect.InvocationTargetException e) {}
}
}
//==============================================================================