Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

initial commit of Filtermama Lite

  • Loading branch information...
commit efc6e76696e230d6fe2310d3dc1329bf6d9210ef 1 parent 5fc1a8f
Chad Tetreault authored
Showing with 6,617 additions and 0 deletions.
  1. +277 −0 Filtermama-Lite/.cproject
  2. +6 −0 Filtermama-Lite/.device
  3. +1 −0  Filtermama-Lite/.gitignore
  4. +44 −0 Filtermama-Lite/.project
  5. +2 −0  Filtermama-Lite/.settings/com.qnx.tools.ide.core.prefs
  6. +10 −0 Filtermama-Lite/.settings/com.rim.tad.tools.qml.core.prefs
  7. +33 −0 Filtermama-Lite/.settings/org.eclipse.cdt.core.prefs
  8. +10 −0 Filtermama-Lite/Boilerplate_Cascades.pro
  9. +238 −0 Filtermama-Lite/LICENSE
  10. +6 −0 Filtermama-Lite/Makefile
  11. +86 −0 Filtermama-Lite/README.md
  12. BIN  Filtermama-Lite/_screenshots/ss_appmenu.png
  13. BIN  Filtermama-Lite/_screenshots/ss_feed.png
  14. BIN  Filtermama-Lite/_screenshots/ss_options.png
  15. BIN  Filtermama-Lite/_screenshots/ss_process.png
  16. +42 −0 Filtermama-Lite/assets/.assets.index
  17. +85 −0 Filtermama-Lite/assets/AboutSheet.qml
  18. +110 −0 Filtermama-Lite/assets/BasePage.qml
  19. +127 −0 Filtermama-Lite/assets/Feed.qml
  20. +382 −0 Filtermama-Lite/assets/Filtering.qml
  21. BIN  Filtermama-Lite/assets/filters/1980.png
  22. BIN  Filtermama-Lite/assets/filters/adams.png
  23. BIN  Filtermama-Lite/assets/filters/ariss.png
  24. BIN  Filtermama-Lite/assets/filters/f28.png
  25. +132 −0 Filtermama-Lite/assets/filters/filters.json
  26. BIN  Filtermama-Lite/assets/filters/glum.png
  27. BIN  Filtermama-Lite/assets/filters/normal.png
  28. BIN  Filtermama-Lite/assets/filters/queens.png
  29. BIN  Filtermama-Lite/assets/filters/stout.png
  30. BIN  Filtermama-Lite/assets/filters/weez.png
  31. +24 −0 Filtermama-Lite/assets/htdocs/blank.html
  32. +59 −0 Filtermama-Lite/assets/htdocs/css/style.css
  33. +49 −0 Filtermama-Lite/assets/htdocs/index.html
  34. +182 −0 Filtermama-Lite/assets/htdocs/js/index.js
  35. +269 −0 Filtermama-Lite/assets/htdocs/js/lib/jquery.filterme.js
  36. +3,134 −0 Filtermama-Lite/assets/htdocs/js/lib/jquery.js
  37. BIN  Filtermama-Lite/assets/images/about-logo.png
  38. BIN  Filtermama-Lite/assets/images/about.png
  39. BIN  Filtermama-Lite/assets/images/background-body-fullsize.png
  40. BIN  Filtermama-Lite/assets/images/background-filters.png
  41. BIN  Filtermama-Lite/assets/images/bbm.png
  42. BIN  Filtermama-Lite/assets/images/blank.png
  43. BIN  Filtermama-Lite/assets/images/camera.png
  44. BIN  Filtermama-Lite/assets/images/feed.png
  45. BIN  Filtermama-Lite/assets/images/header-filtermama.png
  46. BIN  Filtermama-Lite/assets/images/help.png
  47. BIN  Filtermama-Lite/assets/images/icon.png
  48. BIN  Filtermama-Lite/assets/images/process.png
  49. BIN  Filtermama-Lite/assets/images/save.png
  50. BIN  Filtermama-Lite/assets/images/settings.png
  51. BIN  Filtermama-Lite/assets/images/share.png
  52. BIN  Filtermama-Lite/assets/images/splash-720x1280.png
  53. BIN  Filtermama-Lite/assets/images/splash-720x720.png
  54. BIN  Filtermama-Lite/assets/images/splash-768x1280.png
  55. BIN  Filtermama-Lite/assets/images/twitter.png
  56. +132 −0 Filtermama-Lite/assets/main.qml
  57. +73 −0 Filtermama-Lite/bar-descriptor.xml
  58. +160 −0 Filtermama-Lite/config.pri
  59. +2 −0  Filtermama-Lite/precompiled.h
  60. +245 −0 Filtermama-Lite/src/applicationui.cpp
  61. +97 −0 Filtermama-Lite/src/applicationui.hpp
  62. +252 −0 Filtermama-Lite/src/bbm/BBMHandler.cpp
  63. +170 −0 Filtermama-Lite/src/bbm/BBMHandler.hpp
  64. +43 −0 Filtermama-Lite/src/main.cpp
  65. +1 −0  Filtermama-Lite/translations/Boilerplate_Cascades.pro
  66. +122 −0 Filtermama-Lite/translations/Boilerplate_Cascades.ts
  67. +12 −0 Filtermama-Lite/translations/Makefile
View
277 Filtermama-Lite/.cproject
@@ -0,0 +1,277 @@
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?fileVersion 4.0.0?>
+
+<cproject storage_type_id="org.eclipse.cdt.core.XmlProjectDescriptionStorage">
+ <storageModule moduleId="org.eclipse.cdt.core.settings">
+ <cconfiguration id="com.qnx.qcc.toolChain.403341000">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.403341000" moduleId="org.eclipse.cdt.core.settings" name="Device-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" description="" id="com.qnx.qcc.toolChain.403341000" name="Device-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.403341000.1527395664" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.960692749" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.1104716159" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1742295347" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.271110349" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.37332449" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1998619466" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.403341000.1461589163" incrementalBuildTarget="Device-Debug" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1121449855" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.539762260" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1569657993" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/platform"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/system"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtNetwork"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/data"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/img"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.830204135" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.193930749" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1667429812" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.177705947" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
+ <option id="com.qnx.qcc.option.linker.libraries.865527242" name="Libraries (-l)" superClass="com.qnx.qcc.option.linker.libraries" valueType="libs">
+ <listOptionValue builtIn="false" value="img"/>
+ <listOptionValue builtIn="false" value="bb"/>
+ <listOptionValue builtIn="false" value="screen"/>
+ <listOptionValue builtIn="false" value="bbutility"/>
+ <listOptionValue builtIn="false" value="bbsystem"/>
+ <listOptionValue builtIn="false" value="QtCore"/>
+ <listOptionValue builtIn="false" value="bbdata"/>
+ <listOptionValue builtIn="false" value="QtNetwork"/>
+ <listOptionValue builtIn="false" value="bbplatform"/>
+ </option>
+ </tool>
+ <tool id="com.qnx.qcc.tool.archiver.1687964805" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.1547236108">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.1547236108" moduleId="org.eclipse.cdt.core.settings" name="Device-Release">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" description="" id="com.qnx.qcc.toolChain.1547236108" name="Device-Release" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.1547236108.2126388601" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.1781714326" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.589799278" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.517753857" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.849214673" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1350619418" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.277062058" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Release" enableAutoBuild="true" id="com.qnx.qcc.toolChain.1547236108.1314740425" incrementalBuildTarget="Device-Release" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.705549971" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.563598670" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1050094055" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/platform"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/system"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtNetwork"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/data"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/img"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1121440940" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.797865714" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.308283259" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.1699955163" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
+ <option id="com.qnx.qcc.option.linker.libraries.1361128070" name="Libraries (-l)" superClass="com.qnx.qcc.option.linker.libraries" valueType="libs">
+ <listOptionValue builtIn="false" value="img"/>
+ <listOptionValue builtIn="false" value="bb"/>
+ <listOptionValue builtIn="false" value="screen"/>
+ <listOptionValue builtIn="false" value="bbutility"/>
+ <listOptionValue builtIn="false" value="bbsystem"/>
+ <listOptionValue builtIn="false" value="QtCore"/>
+ <listOptionValue builtIn="false" value="bbdata"/>
+ <listOptionValue builtIn="false" value="QtNetwork"/>
+ <listOptionValue builtIn="false" value="bbplatform"/>
+ </option>
+ </tool>
+ <tool id="com.qnx.qcc.tool.archiver.125072412" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.141342569">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.141342569" moduleId="org.eclipse.cdt.core.settings" name="Device-Profile">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" description="" id="com.qnx.qcc.toolChain.141342569" name="Device-Profile" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.141342569.237352375" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.857507398" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.59950458" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1095313608" name="Target CPU:" superClass="com.qnx.qcc.option.cpu" value="com.qnx.qcc.option.gen.cpu.armle-v7" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.1978853208" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1060995508" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.106790911" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Device-Profile" enableAutoBuild="true" id="com.qnx.qcc.toolChain.141342569.1191758454" incrementalBuildTarget="Device-Profile" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.808275927" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.39816056" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.2116193731" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/platform"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/system"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtNetwork"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/data"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/img"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.32589358" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.1938616825" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1862890833" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.37923052" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
+ <option id="com.qnx.qcc.option.linker.libraries.1972242217" name="Libraries (-l)" superClass="com.qnx.qcc.option.linker.libraries" valueType="libs">
+ <listOptionValue builtIn="false" value="img"/>
+ <listOptionValue builtIn="false" value="bb"/>
+ <listOptionValue builtIn="false" value="screen"/>
+ <listOptionValue builtIn="false" value="bbutility"/>
+ <listOptionValue builtIn="false" value="bbsystem"/>
+ <listOptionValue builtIn="false" value="QtCore"/>
+ <listOptionValue builtIn="false" value="bbdata"/>
+ <listOptionValue builtIn="false" value="QtNetwork"/>
+ <listOptionValue builtIn="false" value="bbplatform"/>
+ </option>
+ </tool>
+ <tool id="com.qnx.qcc.tool.archiver.1968746280" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ <cconfiguration id="com.qnx.qcc.toolChain.1049642261">
+ <storageModule buildSystemId="org.eclipse.cdt.managedbuilder.core.configurationDataProvider" id="com.qnx.qcc.toolChain.1049642261" moduleId="org.eclipse.cdt.core.settings" name="Simulator-Debug">
+ <externalSettings/>
+ <extensions>
+ <extension id="com.qnx.tools.ide.qde.core.QDEBynaryParser" point="org.eclipse.cdt.core.BinaryParser"/>
+ <extension id="org.eclipse.cdt.core.GmakeErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.CWDLocator" point="org.eclipse.cdt.core.ErrorParser"/>
+ <extension id="org.eclipse.cdt.core.GCCErrorParser" point="org.eclipse.cdt.core.ErrorParser"/>
+ </extensions>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <configuration artifactName="${ProjName}" buildProperties="" description="" id="com.qnx.qcc.toolChain.1049642261" name="Simulator-Debug" parent="org.eclipse.cdt.build.core.emptycfg">
+ <folderInfo id="com.qnx.qcc.toolChain.1049642261.823506866" name="/" resourcePath="">
+ <toolChain id="com.qnx.qcc.toolChain.689560190" name="com.qnx.qcc.toolChain" superClass="com.qnx.qcc.toolChain">
+ <option id="com.qnx.qcc.option.os.599019237" name="Target OS:" superClass="com.qnx.qcc.option.os"/>
+ <option id="com.qnx.qcc.option.cpu.1126756552" name="Target CPU:" superClass="com.qnx.qcc.option.cpu"/>
+ <option id="com.qnx.qcc.option.compiler.208642961" name="Compiler:" superClass="com.qnx.qcc.option.compiler"/>
+ <option id="com.qnx.qcc.option.runtime.1657455720" name="Runtime:" superClass="com.qnx.qcc.option.runtime"/>
+ <targetPlatform archList="all" binaryParser="com.qnx.tools.ide.qde.core.QDEBynaryParser" id="com.qnx.qcc.targetPlatform.1505752979" osList="all" superClass="com.qnx.qcc.targetPlatform"/>
+ <builder autoBuildTarget="Simulator-Debug" enableAutoBuild="true" id="com.qnx.qcc.toolChain.1049642261.221342751" incrementalBuildTarget="Simulator-Debug" keepEnvironmentInBuildfile="false" managedBuildOn="false" name="Gnu Make Builder" parallelBuildOn="true" parallelizationNumber="optimal" superClass="org.eclipse.cdt.build.core.settings.default.builder"/>
+ <tool id="com.qnx.qcc.tool.compiler.1343279646" name="QCC Compiler" superClass="com.qnx.qcc.tool.compiler">
+ <option id="com.qnx.qcc.option.compiler.optlevel.1762836787" name="Optimization Level" superClass="com.qnx.qcc.option.compiler.optlevel" value="com.qnx.qcc.option.compiler.optlevel.0" valueType="enumerated"/>
+ <option id="com.qnx.qcc.option.compiler.includePath.1672484813" name="Include Directories (-I)" superClass="com.qnx.qcc.option.compiler.includePath" valueType="includePath">
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/platform"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/system"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtNetwork"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb/data"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/qt4/QtCore"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/bb"/>
+ <listOptionValue builtIn="false" value="${QNX_TARGET}/usr/include/img"/>
+ </option>
+ <inputType id="com.qnx.qcc.inputType.compiler.1438309132" superClass="com.qnx.qcc.inputType.compiler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.assembler.437719808" name="QCC Assembler" superClass="com.qnx.qcc.tool.assembler">
+ <inputType id="com.qnx.qcc.inputType.assembler.1048964046" superClass="com.qnx.qcc.inputType.assembler"/>
+ </tool>
+ <tool id="com.qnx.qcc.tool.linker.2076616373" name="QCC Linker" superClass="com.qnx.qcc.tool.linker">
+ <option id="com.qnx.qcc.option.linker.libraries.1178169661" name="Libraries (-l)" superClass="com.qnx.qcc.option.linker.libraries" valueType="libs">
+ <listOptionValue builtIn="false" value="img"/>
+ <listOptionValue builtIn="false" value="bb"/>
+ <listOptionValue builtIn="false" value="screen"/>
+ <listOptionValue builtIn="false" value="bbutility"/>
+ <listOptionValue builtIn="false" value="bbsystem"/>
+ <listOptionValue builtIn="false" value="QtCore"/>
+ <listOptionValue builtIn="false" value="bbdata"/>
+ <listOptionValue builtIn="false" value="QtNetwork"/>
+ <listOptionValue builtIn="false" value="bbplatform"/>
+ </option>
+ </tool>
+ <tool id="com.qnx.qcc.tool.archiver.416909147" name="QCC Archiver" superClass="com.qnx.qcc.tool.archiver"/>
+ </toolChain>
+ </folderInfo>
+ <sourceEntries>
+ <entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="src"/>
+ </sourceEntries>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.externalSettings"/>
+ </cconfiguration>
+ </storageModule>
+ <storageModule moduleId="cdtBuildSystem" version="4.0.0">
+ <project id="Boilerplate-Cascades.null.1390952436" name="Boilerplate-Cascades"/>
+ </storageModule>
+ <storageModule moduleId="scannerConfiguration">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.1049642261">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.403341000">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.1547236108">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ <scannerConfigBuildInfo instanceId="com.qnx.qcc.toolChain.141342569">
+ <autodiscovery enabled="true" problemReportingEnabled="true" selectedProfileId="com.qnx.tools.ide.qde.managedbuilder.core.qccScannerInfo"/>
+ </scannerConfigBuildInfo>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.core.LanguageSettingsProviders"/>
+ <storageModule moduleId="refreshScope" versionNumber="2">
+ <configuration configurationName="Device-Profile">
+ <resource resourceType="PROJECT" workspacePath="/FiltermamaHybrid"/>
+ </configuration>
+ <configuration configurationName="Device-Debug">
+ <resource resourceType="PROJECT" workspacePath="/FiltermamaHybrid"/>
+ </configuration>
+ <configuration configurationName="Simulator-Debug">
+ <resource resourceType="PROJECT" workspacePath="/FiltermamaHybrid"/>
+ </configuration>
+ <configuration configurationName="Device-Release">
+ <resource resourceType="PROJECT" workspacePath="/FiltermamaHybrid"/>
+ </configuration>
+ </storageModule>
+ <storageModule moduleId="org.eclipse.cdt.make.core.buildtargets"/>
+</cproject>
View
6 Filtermama-Lite/.device
@@ -0,0 +1,6 @@
+#Project target device definition.
+#Wed Sep 11 12:48:21 EDT 2013
+ppi=356
+height=1280
+kind=PHONE
+width=768
View
1  Filtermama-Lite/.gitignore
@@ -0,0 +1 @@
+/arm
View
44 Filtermama-Lite/.project
@@ -0,0 +1,44 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>FiltermamaHybrid</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>com.rim.tad.tools.qml.core.qmlFileBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.genmakebuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder</name>
+ <triggers>full,incremental,</triggers>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>com.qnx.tools.bbt.xml.core.bbtXMLValidationBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ <nature>org.eclipse.cdt.core.cnature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.managedBuildNature</nature>
+ <nature>org.eclipse.cdt.managedbuilder.core.ScannerConfigNature</nature>
+ <nature>com.qnx.tools.ide.bbt.core.bbtnature</nature>
+ <nature>org.eclipse.cdt.core.ccnature</nature>
+ <nature>com.rim.tad.tools.qml.core.qmlNature</nature>
+ </natures>
+</projectDescription>
View
2  Filtermama-Lite/.settings/com.qnx.tools.ide.core.prefs
@@ -0,0 +1,2 @@
+QNX_CURRENT_INSTALL=BlackBerry 10 Native SDK 10.1.0.4828
+eclipse.preferences.version=1
View
10 Filtermama-Lite/.settings/com.rim.tad.tools.qml.core.prefs
@@ -0,0 +1,10 @@
+eclipse.preferences.version=1
+white-list.filePath=
+white-list.fileSaved=
+white-list.filepicker=
+white-list.tabCapture=
+white-list.tabs=
+white-list.theWebview=
+white-list.thumbnailsLoaded=
+white-list.toast=
+white-list.utils=
View
33 Filtermama-Lite/.settings/org.eclipse.cdt.core.prefs
@@ -0,0 +1,33 @@
+eclipse.preferences.version=1
+environment/project/com.qnx.qcc.toolChain.1049642261/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1049642261/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1049642261/CPULIST/value=x86
+environment/project/com.qnx.qcc.toolChain.1049642261/VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1049642261/VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1049642261/VARIANTLIST/value=g
+environment/project/com.qnx.qcc.toolChain.1049642261/append=true
+environment/project/com.qnx.qcc.toolChain.1049642261/appendContributed=true
+environment/project/com.qnx.qcc.toolChain.141342569/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.141342569/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.141342569/CPULIST/value=arm
+environment/project/com.qnx.qcc.toolChain.141342569/EXCLUDE_VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.141342569/EXCLUDE_VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.141342569/EXCLUDE_VARIANTLIST/value=p
+environment/project/com.qnx.qcc.toolChain.141342569/append=true
+environment/project/com.qnx.qcc.toolChain.141342569/appendContributed=true
+environment/project/com.qnx.qcc.toolChain.1547236108/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1547236108/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1547236108/CPULIST/value=arm
+environment/project/com.qnx.qcc.toolChain.1547236108/EXCLUDE_VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.1547236108/EXCLUDE_VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.1547236108/EXCLUDE_VARIANTLIST/value=r
+environment/project/com.qnx.qcc.toolChain.1547236108/append=true
+environment/project/com.qnx.qcc.toolChain.1547236108/appendContributed=true
+environment/project/com.qnx.qcc.toolChain.403341000/CPULIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.403341000/CPULIST/operation=append
+environment/project/com.qnx.qcc.toolChain.403341000/CPULIST/value=arm
+environment/project/com.qnx.qcc.toolChain.403341000/VARIANTLIST/delimiter=,
+environment/project/com.qnx.qcc.toolChain.403341000/VARIANTLIST/operation=append
+environment/project/com.qnx.qcc.toolChain.403341000/VARIANTLIST/value=g
+environment/project/com.qnx.qcc.toolChain.403341000/append=true
+environment/project/com.qnx.qcc.toolChain.403341000/appendContributed=true
View
10 Filtermama-Lite/Boilerplate_Cascades.pro
@@ -0,0 +1,10 @@
+APP_NAME = Boilerplate_Cascades
+
+CONFIG += qt warn_on cascades10
+
+LIBS += -lbb -lbbdata -lbbplatformbbm -lbbsystem -lbbplatform
+LIBS += -lz
+
+QT += network
+
+include(config.pri)
View
238 Filtermama-Lite/LICENSE
@@ -0,0 +1,238 @@
+ Apache License
+ Version 2.0, January 2004
+ http://www.apache.org/licenses/
+
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
+
+ 1. Definitions.
+
+ "License" shall mean the terms and conditions for use, reproduction,
+ and distribution as defined by Sections 1 through 9 of this document.
+
+ "Licensor" shall mean the copyright owner or entity authorized by
+ the copyright owner that is granting the License.
+
+ "Legal Entity" shall mean the union of the acting entity and all
+ other entities that control, are controlled by, or are under common
+ control with that entity. For the purposes of this definition,
+ "control" means (i) the power, direct or indirect, to cause the
+ direction or management of such entity, whether by contract or
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
+ outstanding shares, or (iii) beneficial ownership of such entity.
+
+ "You" (or "Your") shall mean an individual or Legal Entity
+ exercising permissions granted by this License.
+
+ "Source" form shall mean the preferred form for making modifications,
+ including but not limited to software source code, documentation
+ source, and configuration files.
+
+ "Object" form shall mean any form resulting from mechanical
+ transformation or translation of a Source form, including but
+ not limited to compiled object code, generated documentation,
+ and conversions to other media types.
+
+ "Work" shall mean the work of authorship, whether in Source or
+ Object form, made available under the License, as indicated by a
+ copyright notice that is included in or attached to the work
+ (an example is provided in the Appendix below).
+
+ "Derivative Works" shall mean any work, whether in Source or Object
+ form, that is based on (or derived from) the Work and for which the
+ editorial revisions, annotations, elaborations, or other modifications
+ represent, as a whole, an original work of authorship. For the purposes
+ of this License, Derivative Works shall not include works that remain
+ separable from, or merely link (or bind by name) to the interfaces of,
+ the Work and Derivative Works thereof.
+
+ "Contribution" shall mean any work of authorship, including
+ the original version of the Work and any modifications or additions
+ to that Work or Derivative Works thereof, that is intentionally
+ submitted to Licensor for inclusion in the Work by the copyright owner
+ or by an individual or Legal Entity authorized to submit on behalf of
+ the copyright owner. For the purposes of this definition, "submitted"
+ means any form of electronic, verbal, or written communication sent
+ to the Licensor or its representatives, including but not limited to
+ communication on electronic mailing lists, source code control systems,
+ and issue tracking systems that are managed by, or on behalf of, the
+ Licensor for the purpose of discussing and improving the Work, but
+ excluding communication that is conspicuously marked or otherwise
+ designated in writing by the copyright owner as "Not a Contribution."
+
+ "Contributor" shall mean Licensor and any individual or Legal Entity
+ on behalf of whom a Contribution has been received by Licensor and
+ subsequently incorporated within the Work.
+
+ 2. Grant of Copyright License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ copyright license to reproduce, prepare Derivative Works of,
+ publicly display, publicly perform, sublicense, and distribute the
+ Work and such Derivative Works in Source or Object form.
+
+ 3. Grant of Patent License. Subject to the terms and conditions of
+ this License, each Contributor hereby grants to You a perpetual,
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
+ (except as stated in this section) patent license to make, have made,
+ use, offer to sell, sell, import, and otherwise transfer the Work,
+ where such license applies only to those patent claims licensable
+ by such Contributor that are necessarily infringed by their
+ Contribution(s) alone or by combination of their Contribution(s)
+ with the Work to which such Contribution(s) was submitted. If You
+ institute patent litigation against any entity (including a
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
+ or a Contribution incorporated within the Work constitutes direct
+ or contributory patent infringement, then any patent licenses
+ granted to You under this License for that Work shall terminate
+ as of the date such litigation is filed.
+
+ 4. Redistribution. You may reproduce and distribute copies of the
+ Work or Derivative Works thereof in any medium, with or without
+ modifications, and in Source or Object form, provided that You
+ meet the following conditions:
+
+ (a) You must give any other recipients of the Work or
+ Derivative Works a copy of this License; and
+
+ (b) You must cause any modified files to carry prominent notices
+ stating that You changed the files; and
+
+ (c) You must retain, in the Source form of any Derivative Works
+ that You distribute, all copyright, patent, trademark, and
+ attribution notices from the Source form of the Work,
+ excluding those notices that do not pertain to any part of
+ the Derivative Works; and
+
+ (d) If the Work includes a "NOTICE" text file as part of its
+ distribution, then any Derivative Works that You distribute must
+ include a readable copy of the attribution notices contained
+ within such NOTICE file, excluding those notices that do not
+ pertain to any part of the Derivative Works, in at least one
+ of the following places: within a NOTICE text file distributed
+ as part of the Derivative Works; within the Source form or
+ documentation, if provided along with the Derivative Works; or,
+ within a display generated by the Derivative Works, if and
+ wherever such third-party notices normally appear. The contents
+ of the NOTICE file are for informational purposes only and
+ do not modify the License. You may add Your own attribution
+ notices within Derivative Works that You distribute, alongside
+ or as an addendum to the NOTICE text from the Work, provided
+ that such additional attribution notices cannot be construed
+ as modifying the License.
+
+ You may add Your own copyright statement to Your modifications and
+ may provide additional or different license terms and conditions
+ for use, reproduction, or distribution of Your modifications, or
+ for any such Derivative Works as a whole, provided Your use,
+ reproduction, and distribution of the Work otherwise complies with
+ the conditions stated in this License.
+
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
+ any Contribution intentionally submitted for inclusion in the Work
+ by You to the Licensor shall be under the terms and conditions of
+ this License, without any additional terms or conditions.
+ Notwithstanding the above, nothing herein shall supersede or modify
+ the terms of any separate license agreement you may have executed
+ with Licensor regarding such Contributions.
+
+ 6. Trademarks. This License does not grant permission to use the trade
+ names, trademarks, service marks, or product names of the Licensor,
+ except as required for reasonable and customary use in describing the
+ origin of the Work and reproducing the content of the NOTICE file.
+
+ 7. Disclaimer of Warranty. Unless required by applicable law or
+ agreed to in writing, Licensor provides the Work (and each
+ Contributor provides its Contributions) on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
+ implied, including, without limitation, any warranties or conditions
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
+ PARTICULAR PURPOSE. You are solely responsible for determining the
+ appropriateness of using or redistributing the Work and assume any
+ risks associated with Your exercise of permissions under this License.
+
+ 8. Limitation of Liability. In no event and under no legal theory,
+ whether in tort (including negligence), contract, or otherwise,
+ unless required by applicable law (such as deliberate and grossly
+ negligent acts) or agreed to in writing, shall any Contributor be
+ liable to You for damages, including any direct, indirect, special,
+ incidental, or consequential damages of any character arising as a
+ result of this License or out of the use or inability to use the
+ Work (including but not limited to damages for loss of goodwill,
+ work stoppage, computer failure or malfunction, or any and all
+ other commercial damages or losses), even if such Contributor
+ has been advised of the possibility of such damages.
+
+ 9. Accepting Warranty or Additional Liability. While redistributing
+ the Work or Derivative Works thereof, You may choose to offer,
+ and charge a fee for, acceptance of support, warranty, indemnity,
+ or other liability obligations and/or rights consistent with this
+ License. However, in accepting such obligations, You may act only
+ on Your own behalf and on Your sole responsibility, not on behalf
+ of any other Contributor, and only if You agree to indemnify,
+ defend, and hold each Contributor harmless for any liability
+ incurred by, or claims asserted against, such Contributor by reason
+ of your accepting any such warranty or additional liability.
+
+===============================================
+ Filter.me - MIT License
+===============================================
+
+Copyright © 2012 Matthew Ruddy (http://matthewruddy.com).
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+===============================================
+ jQuery - MIT License
+===============================================
+
+Copyright 2012 jQuery Foundation and other contributors
+http://jquery.com/
+
+Permission is hereby granted, free of charge, to any person obtaining
+a copy of this software and associated documentation files (the
+"Software"), to deal in the Software without restriction, including
+without limitation the rights to use, copy, modify, merge, publish,
+distribute, sublicense, and/or sell copies of the Software, and to
+permit persons to whom the Software is furnished to do so, subject to
+the following conditions:
+
+The above copyright notice and this permission notice shall be
+included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
+===============================================
+ Icons
+===============================================
+
+This software contains icons from Myers Design Limited
+http://myersdesign.com/resources/
+
+Licensed under the Creative Commons Attribution 3.0 Unported
+http://creativecommons.org/licenses/by/3.0/
+
+
View
6 Filtermama-Lite/Makefile
@@ -0,0 +1,6 @@
+QMAKE_TARGET = Boilerplate_Cascades
+PROJECT_DIR := $(dir $(word $(words $(MAKEFILE_LIST)),$(MAKEFILE_LIST)))
+I18N_DIR := $(PROJECT_DIR)/translations
+
+include mk/cs-base.mk
+
View
86 Filtermama-Lite/README.md
@@ -0,0 +1,86 @@
+# Filtermama Lite
+
+Filtermama Lite, written by [@chadtatro](http://www.twitter.com/chadtatro) is a full-blown "Showcase" application written for BlackBerry 10. It combines the flexibility of JavaScript, with the power of BlackBerry Cascades, and C++ to deliver a true **Hybrid** app.
+
+The "full" version of [Filtermama](http://appworld.blackberry.com/webstore/content/27283379) is available for free in BlackBerry World.
+
+If you'd like to learn more about Hybrid apps, and specifically how I made Filtermama, a full write-up is available here: [Nobody puts Filtermama in the corner](http://palebanana.com/nobody-puts-filtermama-in-the-corner/)
+
+The sample code for this application is Open Source under the [Apache 2.0 License](http://www.apache.org/licenses/LICENSE-2.0.html).
+
+**Applies To**
+
+* [BlackBerry 10.1 Native SDK](https://developer.blackberry.com/native/downloads/)
+
+**Author(s)**
+
+* [Chad Tetreault](http://www.twitter.com/chadtatro)
+
+**Built for BlackBerry**
+
+Filtermama has passed testing, and is designated as a [Built for BlackBerry](http://developer.blackberry.com/builtforblackberry/) app. I used the Built for BlackBerry boilerplate to get started quick. There are two Cascades versions available.
+
+* [10.2 BfB Boilerplate](https://github.com/blackberry/Cascades-Samples/tree/master/BfB-Boilerplate-10.2)
+* [10.1 BfB Boilerplate](https://github.com/blackberry/Cascades-Samples/tree/master/BfB-Boilerplate-10.1)
+
+**Hybrid Apps**
+
+To learn more about creating Hybrid apps for BlackBerry 10, check-out [Anzor Bashkhaz's](https://twitter.com/anzor_b) blog series on the BlackBerry DevBlog: [Hybrid Apps for BlackBerry 10](http://devblog.blackberry.com/2014/01/hybrid-apps-for-blackberry-10-an-introduction/).
+
+**Attributions**
+
+1. [Filter.me](http://matthewruddy.com) is dual licensed under the [Apache 2.0](http://www.apache.org/licenses/LICENSE-2.0.html) or [GPL](http://www.opensource.org/licenses/gpl-license.php) licenses.
+
+2. [jQuery](http://code.jquery.com/jquery-1.7.2.js) is [licensed](http://jquery.org/license/) under the MIT license.
+
+3. Fonts used in the headers, and splash screens are [Aaaiight](http://www.fonts4free.net/aaaiight-font.html) by JW/SWE, and are distributed as "Freeware" via [Fonts4Free.net](http://www.fonts4free.net/aaaiight-font.html).
+
+4. Some icons used are part of the [Liz Myers](http://www.myersdesign.com) Icon set and are [licensed](http://creativecommons.org/licenses/by/3.0/) under the CC-BY-3.0 license.
+
+**Special Thanks**
+
+Big shout-outs to the following people, for helping me get past roadblocks along the way
+
+* [Kyle Fowler](http://www.twitter.com/kfow35)
+* [Jerome Carty](http://www.twitter.com/jcarty)
+* [Anzor Bashkhaz](http://www.twitter.com/anzor_b)
+* [Isaac Gordezky](https://github.com/igordezky)
+
+## Screenshots ##
+
+![image](_screenshots/ss_feed.png)
+![image](_screenshots/ss_process.png)
+
+![image](_screenshots/ss_options.png)
+![image](_screenshots/ss_appmenu.png)
+
+
+
+## How To Build
+
+1. Clone the repo to your computer.
+2. Launch BlackBerry 10 Native SDK, and from the File menu, select Import.
+3. Expand General, and select Existing Projects into Workspace. Click Next.
+4. Browse to the location where you extracted the sample file, and then click OK.
+5. The sample project should display in the Projects section.
+ Click Finish to import the project into your workspace.
+6. In the Project Explorer pane, Right-click the project (for example hellocascades)
+ and select Build Project.
+7. In the Project Explorer pane, Right-click the project (for example hellocascades)
+ and select Run As > BlackBerry C/C++ Application.
+8. The application will now install and launch on your device. If it doesent you might
+ have to [set up your environment](http://developer.blackberry.com/cascades/documentation/getting_started/setting_up.html).
+
+
+## More Info
+
+* [BlackBerry Cascades & NDK](https://developer.blackberry.com/native) - Downloads, Getting Started guides, samples, code signing keys.
+* [Native Development Guides](https://developer.blackberry.com/native/documentation/cascades/)
+* [BlackBerry Native Development Forums](https://developer.blackberry.com/native/documentation/cascades/)
+
+
+## Disclaimer
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+
View
BIN  Filtermama-Lite/_screenshots/ss_appmenu.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/_screenshots/ss_feed.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/_screenshots/ss_options.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/_screenshots/ss_process.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
42 Filtermama-Lite/assets/.assets.index
@@ -0,0 +1,42 @@
+1
+40
+AboutSheet.qml
+BasePage.qml
+Feed.qml
+Filtering.qml
+filters/1980.png
+filters/adams.png
+filters/ariss.png
+filters/f28.png
+filters/filters.json
+filters/glum.png
+filters/normal.png
+filters/queens.png
+filters/stout.png
+filters/weez.png
+htdocs/blank.html
+htdocs/css/style.css
+htdocs/index.html
+htdocs/js/index.js
+htdocs/js/lib/jquery.filterme.js
+htdocs/js/lib/jquery.js
+images/about-logo.png
+images/about.png
+images/background-body-fullsize.png
+images/background-filters.png
+images/bbm.png
+images/blank.png
+images/camera.png
+images/feed.png
+images/header-filtermama.png
+images/help.png
+images/icon.png
+images/process.png
+images/save.png
+images/settings.png
+images/share.png
+images/splash-720x1280.png
+images/splash-720x720.png
+images/splash-768x1280.png
+images/twitter.png
+main.qml
View
85 Filtermama-Lite/assets/AboutSheet.qml
@@ -0,0 +1,85 @@
+/* Copyright (c) 2013 Chad Tetreault
+ * http://palebanana.com - @chadtatro
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import bb.cascades 1.0
+
+Sheet {
+ id: aboutSheet
+ content: Page {
+ titleBar: TitleBar {
+ title: "About"
+ dismissAction: ActionItem {
+ title: qsTr("Close") + Retranslate.onLanguageChanged
+ onTriggered: {
+ aboutSheet.close()
+ if (aboutSheet) {
+ aboutSheet.destroy();
+ }
+ }
+ }
+ }
+
+ ScrollView {
+ scrollViewProperties.scrollMode: ScrollMode.Vertical
+ scrollViewProperties.pinchToZoomEnabled: false
+ scrollViewProperties.minContentScale: 1.0
+ scrollViewProperties.overScrollEffectMode: OverScrollEffectMode.None
+ preferredHeight: Infinity
+ preferredWidth: Infinity
+ verticalAlignment: VerticalAlignment.Fill
+ horizontalAlignment: HorizontalAlignment.Fill
+
+ Container {
+ leftPadding: 12
+ rightPadding: 12
+ topPadding: 40
+
+ ImageView {
+ bottomMargin: 40
+ id: logo
+ imageSource: "asset:///images/about-logo.png"
+ verticalAlignment: VerticalAlignment.Center
+ horizontalAlignment: HorizontalAlignment.Center
+ }
+
+ Label {
+ id: labelAbout
+ text: "Filtermama Lite is brought to you by @chadtatro. It combines the flexibility of JavaScript, and the power of Cascades to deliver a true \"Hybrid\" application.\n\nSpecial thanks goes out to Kyle Fowler (@kfow35), Jerome Carty (@jcarty), Anzor Bashkhaz @anzorb), and Isaac Gordezky for getting me past roadblocks along the way. I'm sure that I'm forgetting somebody here, sorry brah. :S\n"
+ textStyle.fontSize: FontSize.PointValue
+ textStyle.fontSizeValue: 8
+ textStyle.fontWeight: FontWeight.W100
+ horizontalAlignment: HorizontalAlignment.Fill
+ multiline: true
+ content.flags: TextContentFlag.ActiveText
+
+ }
+
+ Label {
+ id: labelLegal
+ text: "Attribution: Filtermama 2 is powered in part by <a href=\"http://matthewruddy.github.io/jQuery-filter.me/\">Filter.me</a> by <a href=\"http://matthewruddy.com\">Matthew Ruddy</a> and is dual licensed under the MIT and GPL licenses. Fonts used in the logo, and headers are <a href=\"http://www.fonts4free.net/aaaiight-font.html\">\"Aaaiight!\"</a> by JW/SWE, licensed as Freeware."
+ textStyle.fontSize: FontSize.PointValue
+ textStyle.fontSizeValue: 6
+ textStyle.fontWeight: FontWeight.W100
+ horizontalAlignment: HorizontalAlignment.Fill
+ multiline: true
+ textFormat: TextFormat.Html
+ textStyle.color: Color.Gray
+ textStyle.fontStyle: FontStyle.Italic
+ }
+ }
+ }
+ }
+}
View
110 Filtermama-Lite/assets/BasePage.qml
@@ -0,0 +1,110 @@
+/* Copyright (c) 2013 Chad Tetreault
+ * http://palebanana.com - @chadtatro
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import bb.cascades 1.0
+import bb.cascades.pickers 1.0
+import bb.system 1.0
+
+Page {
+ id: utilsPage
+ property alias filepicker: picker
+ property alias headerimage: headerImage
+ property alias toast: toast
+ property alias toastProgress: toastProgress
+ property alias spinner: spinner
+
+ /* ==================================================
+ * titlebar
+ * ==================================================
+ */
+ titleBar: TitleBar {
+ kind: TitleBarKind.FreeForm
+ kindProperties: FreeFormTitleBarKindProperties {
+
+ // left side
+ Container {
+ leftPadding: 8
+ preferredWidth: Infinity
+ verticalAlignment: VerticalAlignment.Center
+ horizontalAlignment: HorizontalAlignment.Fill
+
+ layout: DockLayout {
+ }
+
+ // header image
+ ImageView {
+ id: headerImage
+ verticalAlignment: VerticalAlignment.Center
+ horizontalAlignment: HorizontalAlignment.Left
+ scalingMethod: ScalingMethod.None
+
+ }
+
+ // spinner
+ Container {
+ id: spinner
+ visible: false
+ verticalAlignment: VerticalAlignment.Fill
+ horizontalAlignment: HorizontalAlignment.Fill
+ opacity: 1
+
+ ActivityIndicator {
+ id: theSpinner
+ verticalAlignment: VerticalAlignment.Top
+ horizontalAlignment: HorizontalAlignment.Right
+ preferredWidth: 106
+ preferredHeight: 106
+ running: true
+ }
+ }
+ }
+ }
+ }
+
+ attachedObjects: [
+ // toasts
+ SystemToast {
+ id: toast
+ },
+
+ // progress toast
+ SystemProgressToast {
+ id: toastProgress
+ body: qsTr("Loading ...") + Retranslate.onLanguageChanged
+
+ },
+
+ // filepicker
+ FilePicker {
+ id: picker
+ property string pickedPhoto
+ title: qsTr("Pick a photo") + Retranslate.onLanguageChanged
+ type: FileType.Picture
+ imageCropEnabled: true
+
+ onFileSelected: {
+ filePicked = true;
+ var pickedPhoto = selectedFiles[0];
+ var b64 = app.copyToData(pickedPhoto);
+ tabProcess.updateImage(b64)
+ }
+
+ onCanceled: {
+ tabs.activeTab = tabs.lastTab;
+ }
+ }
+ ]
+}
View
127 Filtermama-Lite/assets/Feed.qml
@@ -0,0 +1,127 @@
+/* Copyright (c) 2013 Chad Tetreault
+ * http://palebanana.com - @chadtatro
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import bb.cascades 1.0
+
+BasePage {
+ id: tabFeed
+ property variant feedPhotos
+
+ onCreationCompleted: {
+ // you can change the head image to whatever you like for each page
+ headerimage.imageSource = "asset:///images/header-filtermama.png";
+ }
+
+ // feed thumbnail listView
+ ListView {
+ id: photosList
+ verticalAlignment: VerticalAlignment.Top
+ horizontalAlignment: HorizontalAlignment.Left
+ scrollIndicatorMode: ScrollIndicatorMode.Default
+ snapMode: SnapMode.None
+ flickMode: FlickMode.Momentum
+ bufferedScrollingEnabled: true
+
+ property alias feedDataModel: feedDataModel
+
+ onCreationCompleted: {
+ app.photosChanged.connect(addThumbToDataModel)
+ loadPhotos()
+ }
+
+ layout: GridListLayout {
+ headerMode: ListHeaderMode.None
+ columnCount: 3
+ }
+
+ function itemType(data, indexPath) {
+ return "item";
+ }
+
+ dataModel: ArrayDataModel {
+ id: feedDataModel
+ }
+
+ // do this when a thumbnail is clicked
+ function handleThumbClick(thumbData) {
+ var path = thumbData.replace(".tmp/", "");
+ app.invokePhotoViewer(path);
+ }
+
+ // add thumbnail to the datamodel
+ function addThumbToDataModel(filepath) {
+ var newThumb = [ "file://" + filepath ];
+ feedDataModel.insert(0, newThumb[0]);
+ }
+
+ // load found thumbnails and insert into the feedDataModel
+ function loadPhotos() {
+ var photos = app.getPhotos();
+ feedPhotos = photos.split(",");
+ var length = feedPhotos.length;
+
+ for (var i = 0; i < length; i ++) {
+ if (feedPhotos[i] !== "") {
+ feedDataModel.insert(0, feedPhotos[i])
+ }
+ }
+ }
+
+ listItemComponents: [
+ ListItemComponent {
+ type: "item"
+ Container {
+ id: feedItem
+
+ Container {
+ verticalAlignment: VerticalAlignment.Bottom
+ horizontalAlignment: HorizontalAlignment.Center
+
+ ImageButton {
+ preferredHeight: 334
+ preferredWidth: 334
+ defaultImageSource: ListItemData
+ pressedImageSource: ListItemData
+
+ onClicked: {
+ feedItem.ListItem.view.handleThumbClick(ListItemData)
+ }
+ }
+ } // container
+ } // container
+ } // listitemcomponent
+ ]
+ }
+
+ attachedObjects: [
+ ImagePaintDefinition {
+ id: back
+ repeatPattern: RepeatPattern.XY
+ imageSource: "asset:///images/background-body-fullsize.png"
+ }
+ ]
+
+ actions: [
+ ActionItem {
+ title: qsTr("Capture") + Retranslate.onLanguageChanged
+ imageSource: "asset:///images/camera.png"
+ ActionBar.placement: ActionBarPlacement.OnBar
+ onTriggered: {
+ filepicker.open();
+ }
+ }
+ ]
+}
View
382 Filtermama-Lite/assets/Filtering.qml
@@ -0,0 +1,382 @@
+/* Copyright (c) 2013 Chad Tetreault
+ * http://palebanana.com - @chadtatro
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+import bb.cascades 1.0
+import bb.data 1.0
+
+BasePage {
+ id: filterPage
+ property variant shareOrSave
+ property variant activeThumb: ""
+
+ onCreationCompleted: {
+ // you can change the head image to whatever you like for each page
+ headerimage.imageSource = "asset:///images/header-filtermama.png";
+ }
+
+ Container {
+ id: rootContainer
+ background: back.imagePaint
+ verticalAlignment: VerticalAlignment.Fill
+ horizontalAlignment: HorizontalAlignment.Fill
+
+ layout: DockLayout {
+ }
+
+ /* ==================================================
+ * scrollview
+ * ==================================================
+ */
+
+ ScrollView {
+ scrollViewProperties.scrollMode: ScrollMode.None
+ scrollViewProperties.pinchToZoomEnabled: false
+ scrollViewProperties.minContentScale: 1.0
+ scrollViewProperties.overScrollEffectMode: OverScrollEffectMode.None
+ preferredHeight: Infinity
+ preferredWidth: Infinity
+ verticalAlignment: VerticalAlignment.Fill
+ horizontalAlignment: HorizontalAlignment.Center
+
+ /* ==================================================
+ * webview
+ * ==================================================
+ */
+
+ WebView {
+ id: webview
+ preferredHeight: Infinity
+ preferredWidth: Infinity
+ url: 'local:///assets/htdocs/index.html'
+
+ // make sure to comment out webinspector before releasing
+ settings.webInspectorEnabled: true
+ settings.background: Color.Black
+
+ // viewport setup
+ settings.viewport: {
+ 'width': 'device-width',
+ 'height': 'device-height',
+ 'initial-scale': 1.0
+ }
+
+ // message received from webview
+ onMessageReceived: {
+ var data = message.data;
+
+ // filtering completed
+ if (data === 'filter-done') {
+ resetMama();
+
+ // is this a base64 encoded image sent to us from the webview for saving/sharing?
+ } else if (data.indexOf('data:image/png;base64,') > -1) {
+
+ // save the photo
+ data = data.replace('data:image/png;base64,', '');
+ filePath = app.savePhoto(data);
+
+ if (filePath) {
+ fileSaved = true;
+ }
+
+ // share file
+ if (shareOrSave === "share") {
+ app.shareFile(filePath);
+ } else {
+ toast.body = "Photo saved!";
+ toast.show();
+ }
+ }
+ spinnerOff();
+ }
+ } // end webview
+ } // end scrollview
+
+ // background image for filter thumbnails
+ ImageView {
+ id: backgroundFiltersImg
+ imageSource: "asset:///images/background-filters.png"
+ preferredHeight: 214
+ preferredWidth: 768
+ verticalAlignment: VerticalAlignment.Bottom
+ horizontalAlignment: HorizontalAlignment.Center
+ }
+
+ /* ==================================================
+ * listview - thumbnails
+ * ==================================================
+ */
+
+ ListView {
+ verticalAlignment: VerticalAlignment.Bottom
+ horizontalAlignment: HorizontalAlignment.Center
+ scrollIndicatorMode: ScrollIndicatorMode.None
+ snapMode: SnapMode.LeadingEdge
+ flickMode: FlickMode.Momentum
+ preferredHeight: 180
+ leftPadding: 14
+
+ layout: StackListLayout {
+ orientation: LayoutOrientation.LeftToRight
+ headerMode: ListHeaderMode.None
+ }
+
+ function itemType(data, indexPath) {
+ return "item"
+ }
+
+ dataModel: ArrayDataModel {
+ id: theDataModel
+ }
+
+ // set image source of the listItem
+ function setImageSource(filter) {
+ if (filter.type == "default") {
+ return filter.thumbnail;
+ }
+ }
+
+ function handleFilterClick(filterData, filterItem) {
+ spinnerOn();
+
+ if (activeThumb !== "") {
+ activeThumb.opacity = 1;
+ }
+
+ activeThumb = filterItem;
+ filterItem.opacity = 0.2;
+
+ var msg = {
+ 'cmd': 'filter',
+ 'data': filterData
+ };
+
+ var message = JSON.stringify(msg);
+ webview.postMessage(message);
+ }
+
+ listItemComponents: [
+ ListItemComponent {
+ type: "item"
+ Container {
+ rightPadding: 18
+ id: filterItem
+ layout: StackLayout {
+ orientation: LayoutOrientation.LeftToRight
+ }
+
+ Container {
+ verticalAlignment: VerticalAlignment.Bottom
+ horizontalAlignment: HorizontalAlignment.Center
+
+ layout: DockLayout {
+ }
+
+ ImageButton {
+ id: filterImageButton
+ preferredHeight: 160
+ preferredWidth: 160
+ defaultImageSource: filterItem.ListItem.view.setImageSource(ListItemData)
+ pressedImageSource: filterItem.ListItem.view.setImageSource(ListItemData)
+ leftMargin: 50.0
+
+ onClicked: {
+ filterItem.ListItem.view.handleFilterClick(ListItemData, filterItem);
+ }
+ }
+
+ Label {
+ text: ListItemData.title
+ verticalAlignment: VerticalAlignment.Bottom
+ horizontalAlignment: HorizontalAlignment.Center
+ textStyle.color: Color.create("#f1f1f1")
+ textStyle.fontWeight: FontWeight.W500
+ textStyle.textAlign: TextAlign.Center
+ textStyle.fontSizeValue: 0.75
+ }
+ }
+ } // container
+ } // listitemcomponent
+ ]
+ } // listview
+
+ /* ==================================================
+ * covers screen to prevent touching while filtering
+ * ==================================================
+ */
+
+ Container {
+ id: pageCover
+ visible: false
+ verticalAlignment: VerticalAlignment.Fill
+ horizontalAlignment: HorizontalAlignment.Fill
+ }
+
+ /* ==================================================
+ * attached objects
+ * ==================================================
+ */
+
+ attachedObjects: [
+ DataSource {
+ id: dataSource
+ source: "asset:///filters/filters.json"
+
+ onDataLoaded: {
+ for (var i = 0; i < data.length; i ++) {
+ theDataModel.append(data[i])
+ }
+ }
+ },
+
+ // background image
+ ImagePaintDefinition {
+ id: back
+ repeatPattern: RepeatPattern.XY
+ imageSource: "asset:///images/background-body-fullsize.png"
+ }
+ ]
+
+ }
+
+ /* ==================================================
+ * spinner helpers
+ * ==================================================
+ */
+ function spinnerOn() {
+ spinner.visible = true;
+ pageCover.visible = true;
+ }
+
+ function spinnerOff() {
+ spinner.visible = false;
+ pageCover.visible = false;
+ }
+
+ /* ==================================================
+ * update webview when new file is picked
+ * ==================================================
+ */
+
+ function updateWebview(imgData) {
+ toastProgress.show();
+
+ resetMama();
+
+ if (activeThumb !== "") {
+ activeThumb.opacity = 1;
+ activeThumb = "";
+ }
+
+ var msg = {
+ 'cmd': 'loadPhoto',
+ 'data': imgData
+ };
+
+ var message = JSON.stringify(msg);
+ webview.postMessage(message);
+
+ if (! thumbnailsLoaded) {
+
+ // load default filters
+ dataSource.load();
+ thumbnailsLoaded = true;
+ }
+
+ tabs.activeTab = tabProcess;
+ }
+
+ /* ==================================================
+ * reset our globals
+ * ==================================================
+ */
+
+ function resetMama() {
+ filePicked = true;
+ fileSaved = false;
+ filePath = false;
+ }
+
+ /* ==================================================
+ * actions
+ * ==================================================
+ */
+
+ actions: [
+
+ ActionItem {
+ title: qsTr("Capture") + Retranslate.onLanguageChanged
+ imageSource: "asset:///images/camera.png"
+ ActionBar.placement: ActionBarPlacement.OnBar
+ onTriggered: {
+ filepicker.open();
+ }
+ },
+
+ ActionItem {
+ title: qsTr("Save") + Retranslate.onLanguageChanged
+ imageSource: "asset:///images/save.png"
+
+ onTriggered: {
+ shareOrSave = "save";
+
+ if (fileSaved) {
+ toast.body = qsTr("Photo saved!") + Retranslate.onLanguageChanged;
+ toast.show();
+
+ // not saved yet, let's do it now!!
+ } else {
+ spinnerOn();
+
+ var msg = {
+ 'cmd': 'savePhoto',
+ 'data': null
+ };
+
+ var message = JSON.stringify(msg);
+ webview.postMessage(message);
+ }
+ }
+ },
+
+ ActionItem {
+ title: qsTr("Share") + Retranslate.onLanguageChanged
+ imageSource: "asset:///images/share.png"
+
+ onTriggered: {
+ shareOrSave = "share";
+
+ // if already saved, don't save, just share
+ if (fileSaved) {
+ app.shareFile(filePath);
+
+ // not saved yet, let's do it now!!
+ } else {
+ spinnerOn();
+
+ var msg = {
+ 'cmd': 'savePhoto',
+ 'data': null
+ };
+
+ var message = JSON.stringify(msg);
+ webview.postMessage(message);
+ }
+ }
+ }
+
+ ]
+}
View
BIN  Filtermama-Lite/assets/filters/1980.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/assets/filters/adams.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/assets/filters/ariss.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/assets/filters/f28.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
132 Filtermama-Lite/assets/filters/filters.json
@@ -0,0 +1,132 @@
+[
+ {
+ "id": "normal",
+ "type": "default",
+ "title": "normal",
+ "thumbnail": "filters/normal.png",
+ "filter": {}
+ },
+ {
+ "id": "1980",
+ "type": "default",
+ "title": "1980",
+ "thumbnail": "filters/1980.png",
+ "filter": {
+ "curves": {
+ "a": "[0, 1, 3, 4, 6, 7, 9, 10, 12, 13, 14, 16, 17, 19, 20, 22, 23, 25, 26, 28, 29, 31, 32, 34, 35, 37, 38, 39, 41, 42, 44, 45, 46, 48, 49, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67, 68, 69, 70, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 146, 147, 148, 149, 150, 151, 152, 153, 153, 154, 155, 156, 157, 158, 159, 160, 160, 161, 162, 163, 164, 165, 166, 166, 167, 168, 169, 170, 171, 172, 172, 173, 174, 175, 176, 177, 178, 178, 179, 180, 181, 182, 183, 183, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 193, 194, 195, 196, 197, 198, 199, 199, 200, 201, 202, 203, 204, 204, 205, 206, 207, 208, 209, 209, 210, 211, 212, 213, 214, 215, 215, 216, 217, 218, 219, 220, 221, 221, 222, 223, 224, 225, 226, 227, 227, 228, 229, 230, 231, 232, 233, 233, 234, 235, 236, 237, 238, 239, 240, 241, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 250, 251, 252, 253, 254, 255, 255]",
+ "r": "[58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 58, 59, 60, 60, 61, 62, 62, 63, 63, 64, 64, 65, 66, 66, 67, 67, 68, 69, 69, 70, 70, 71, 72, 72, 73, 74, 74, 75, 76, 77, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 95, 96, 97, 98, 99, 100, 102, 103, 104, 105, 106, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 125, 126, 127, 128, 129, 130, 131, 133, 134, 135, 136, 137, 138, 140, 141, 142, 143, 144, 146, 147, 148, 149, 151, 152, 153, 154, 156, 157, 158, 160, 161, 162, 164, 165, 166, 168, 169, 170, 172, 173, 175, 176, 177, 179, 180, 182, 183, 185, 186, 188, 189, 191, 192, 193, 194, 196, 197, 198, 199, 200, 201, 202, 203, 204, 204, 205, 206, 206, 207, 208, 208, 209, 209, 210, 210, 211, 211, 212, 212, 212, 213, 213, 213, 213, 213, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 215, 214, 214, 214, 214, 214, 214, 214, 214, 214, 214, 213, 213, 213, 213, 213, 213, 213, 212, 212, 212, 212, 212]",
+ "g": "[40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 40, 41, 41, 42, 42, 42, 42, 43, 43, 43, 43, 44, 44, 44, 44, 45, 45, 45, 45, 46, 46, 46, 47, 47, 48, 48, 48, 49, 49, 50, 50, 51, 52, 52, 53, 54, 54, 55, 56, 57, 58, 59, 60, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 155, 156, 157, 158, 160, 161, 162, 163, 164, 166, 167, 168, 169, 171, 172, 173, 174, 175, 176, 178, 179, 180, 181, 182, 183, 185, 186, 187, 188, 189, 190, 191, 192, 193, 195, 196, 197, 198, 199, 200, 201, 202, 203, 205, 206, 207, 208, 209, 210, 211, 212, 214, 215, 216, 217, 218, 220, 221, 222, 223, 225, 226, 227, 228, 230, 231, 232, 233, 235, 236, 237, 239, 240, 241, 242, 244, 245, 246, 247, 249, 250, 251, 252, 254, 255, 255]",
+ "b": "[45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 45, 46, 46, 47, 47, 47, 48, 48, 48, 48, 49, 49, 49, 50, 50, 50, 51, 51, 51, 52, 52, 53, 53, 54, 54, 55, 56, 56, 57, 58, 59, 60, 61, 62, 62, 63, 64, 65, 66, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 89, 90, 91, 92, 93, 94, 96, 97, 98, 99, 100, 102, 103, 104, 105, 107, 108, 109, 110, 112, 113, 114, 115, 117, 118, 119, 120, 122, 123, 124, 126, 127, 128, 130, 131, 133, 134, 135, 137, 138, 140, 141, 143, 144, 145, 147, 148, 149, 151, 152, 153, 155, 156, 157, 159, 160, 161, 162, 164, 165, 166, 167, 168, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 187, 188, 188, 189, 190, 191, 192, 193, 193, 194, 195, 195, 196, 196, 196, 197, 197, 197, 197, 198, 198, 198, 198, 198, 198, 198, 198, 198, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 199, 198, 198, 198, 198, 198, 198, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 197, 198, 198, 198, 198, 198, 198, 198]"
+ },
+ "desaturate": false,
+ "vignette": false
+ }
+ },
+ {
+ "id": "ariss",
+ "type": "default",
+ "title": "ariss",
+ "thumbnail": "filters/ariss.png",
+ "filter": {
+ "curves": {
+ "a": "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 255]",
+ "r": "[50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 50, 51, 51, 51, 51, 51, 52, 53, 54, 55, 56, 57, 59, 60, 62, 63, 64, 66, 67, 68, 69, 70, 71, 71, 72, 73, 73, 74, 75, 75, 76, 76, 77, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 83, 83, 84, 85, 86, 87, 88, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 111, 112, 113, 114, 115, 116, 118, 119, 120, 121, 122, 124, 125, 126, 128, 129, 130, 132, 133, 134, 136, 137, 139, 140, 141, 143, 144, 146, 147, 149, 150, 152, 153, 154, 156, 157, 159, 160, 162, 163, 164, 166, 167, 169, 170, 171, 173, 174, 175, 177, 178, 179, 181, 182, 183, 185, 186, 187, 189, 190, 192, 193, 195, 196, 198, 199, 201, 203, 204, 206, 207, 209, 210, 212, 213, 215, 216, 217, 219, 220, 221, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 236, 237, 238, 239, 239, 240, 241, 241, 242, 243, 243, 244, 244, 245, 246, 246, 247, 247, 248, 248, 249, 249, 249, 250, 250, 251, 251, 251, 252, 252, 252, 253, 253, 253, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 254, 254, 254, 254, 254, 254]",
+ "g": "[0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 2, 2, 2, 3, 4, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 16, 17, 18, 19, 20, 21, 23, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 40, 41, 43, 44, 45, 47, 48, 50, 51, 53, 54, 56, 57, 59, 61, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 87, 89, 91, 93, 95, 97, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 161, 163, 165, 167, 168, 170, 172, 173, 175, 176, 178, 179, 181, 182, 183, 184, 186, 187, 188, 189, 190, 191, 192, 193, 193, 194, 195, 196, 196, 197, 198, 198, 199, 200, 200, 201, 202, 202, 203, 203, 204, 204, 205, 205, 206, 207, 207, 208, 208, 209, 210, 210, 211, 212, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 221, 222, 222, 223, 224, 224, 225, 225, 226, 226, 227, 228, 228, 229, 229, 229, 230, 230, 231, 231, 232, 232, 233, 233, 233, 234, 234, 234, 235, 235, 236, 236, 236, 237, 237, 237, 238, 238, 239, 239, 239, 240, 240, 240, 241, 241, 241, 242, 242, 242, 243, 243, 243, 244, 244, 244, 245, 245, 245, 246, 246, 247, 247, 247, 248, 248, 249, 249, 250, 250, 251, 251, 252, 252, 252]",
+ "b": "[48, 48, 48, 48, 48, 48, 48, 48, 49, 49, 49, 49, 49, 49, 49, 50, 50, 50, 51, 51, 51, 52, 52, 53, 53, 54, 54, 54, 55, 55, 56, 56, 57, 57, 58, 58, 59, 60, 60, 61, 61, 62, 62, 63, 64, 64, 65, 66, 66, 67, 68, 68, 69, 70, 71, 71, 72, 73, 74, 75, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 92, 93, 94, 95, 96, 98, 99, 100, 101, 102, 103, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 141, 142, 143, 144, 145, 146, 146, 147, 148, 148, 149, 150, 151, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 178, 179, 180, 181, 181, 182, 183, 183, 184, 184, 185, 185, 185, 186, 186, 187, 187, 187, 188, 188, 188, 189, 189, 190, 190, 191, 191, 192, 193, 193, 194, 195, 195, 196, 197, 198, 199, 200, 200, 201, 202, 203, 204, 205, 206, 206, 207, 208, 209, 210, 211, 211, 212, 213, 214, 214, 215, 216, 216, 217, 218, 218, 219, 219, 220, 220, 221, 222, 222, 222, 223, 223, 224, 224, 224, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225, 225]"
+ },
+ "desaturate": false,
+ "vignette": false
+ }
+ },
+ {
+ "id": "queens",
+ "type": "default",
+ "title": "queens",
+ "thumbnail": "filters/queens.png",
+ "filter": {
+ "curves": {
+ "a": "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 255]",
+ "r": "[0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 7, 8, 8, 9, 9, 10, 10, 11, 11, 12, 12, 12, 13, 13, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 25, 25, 25, 26, 26, 27, 27, 28, 28, 29, 29, 30, 30, 31, 32, 32, 33, 33, 34, 34, 35, 35, 36, 36, 37, 38, 38, 39, 39, 40, 41, 41, 42, 42, 43, 44, 44, 45, 45, 46, 47, 47, 48, 48, 49, 50, 50, 51, 52, 52, 53, 54, 54, 55, 56, 57, 58, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 70, 71, 73, 74, 76, 77, 79, 80, 82, 83, 84, 86, 87, 88, 90, 91, 92, 94, 95, 96, 98, 99, 100, 102, 103, 104, 106, 107, 109, 110, 111, 113, 114, 116, 118, 119, 121, 123, 124, 126, 128, 129, 131, 133, 135, 137, 138, 140, 142, 144, 146, 148, 149, 151, 153, 155, 156, 158, 160, 162, 163, 165, 167, 168, 170, 172, 173, 175, 176, 178, 180, 181, 183, 184, 186, 187, 189, 191, 192, 194, 195, 197, 198, 200, 201, 203, 204, 205, 207, 208, 210, 211, 213, 214, 215, 217, 218, 219, 221, 222, 223, 224, 225, 227, 228, 229, 230, 231, 233, 234, 235, 237, 238, 239, 241, 242, 244, 245, 246, 248, 249, 251, 252, 254, 255, 255]",
+ "g": "[0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 4, 5, 5, 5, 5, 6, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9, 10, 10, 10, 11, 11, 12, 12, 12, 13, 13, 14, 14, 14, 15, 15, 16, 16, 17, 17, 18, 18, 19, 19, 20, 20, 21, 21, 22, 22, 23, 23, 24, 24, 25, 26, 26, 27, 28, 28, 29, 30, 30, 31, 32, 32, 33, 34, 35, 35, 36, 37, 38, 39, 39, 40, 41, 42, 43, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 77, 78, 79, 81, 82, 83, 84, 86, 87, 88, 90, 91, 92, 93, 95, 96, 97, 99, 100, 101, 102, 104, 105, 106, 108, 109, 110, 112, 113, 115, 116, 118, 119, 121, 122, 124, 125, 127, 128, 130, 132, 133, 135, 137, 138, 140, 142, 143, 145, 147, 149, 150, 152, 154, 155, 157, 159, 160, 162, 163, 165, 167, 168, 170, 171, 173, 174, 176, 177, 179, 180, 182, 183, 185, 186, 188, 189, 191, 192, 194, 195, 196, 198, 199, 201, 202, 204, 205, 206, 208, 209, 211, 212, 213, 215, 216, 217, 219, 220, 221, 223, 224, 225, 226, 228, 229, 230, 232, 233, 234, 236, 237, 239, 240, 242, 243, 245, 246, 248, 249, 251, 252, 254, 255, 255]",
+ "b": "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 8, 9, 9, 10, 10, 11, 12, 12, 13, 13, 14, 15, 15, 16, 17, 17, 18, 19, 20, 20, 21, 22, 22, 23, 24, 24, 25, 26, 27, 27, 28, 29, 30, 31, 32, 33, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 58, 59, 60, 61, 62, 63, 64, 66, 67, 68, 69, 70, 71, 73, 74, 75, 76, 77, 78, 79, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 140, 141, 142, 143, 144, 145, 146, 148, 149, 150, 151, 152, 153, 155, 156, 157, 158, 160, 161, 162, 164, 165, 166, 168, 169, 171, 172, 173, 175, 176, 178, 179, 181, 182, 184, 186, 187, 189, 190, 192, 194, 195, 197, 199, 201, 202, 204, 206, 208, 210, 212, 214, 216, 218, 220, 222, 224, 226, 228, 230, 232, 234, 235, 237, 239, 241, 243, 244, 246, 248, 250, 251, 253, 255, 255]"
+ },
+ "desaturate": false,
+ "vignette": false
+ }
+ },
+ {
+ "id": "stout",
+ "type": "default",
+ "title": "stout",
+ "thumbnail": "filters/stout.png",
+ "filter": {
+ "curves": {
+ "a": "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 255]",
+ "r": "[32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 32, 33, 33, 33, 33, 33, 34, 35, 36, 38, 39, 41, 43, 45, 48, 50, 52, 54, 56, 58, 60, 62, 64, 65, 67, 69, 71, 73, 75, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 117, 119, 121, 123, 125, 126, 128, 130, 132, 133, 135, 137, 139, 140, 142, 144, 146, 147, 149, 151, 152, 154, 155, 157, 158, 160, 161, 163, 164, 166, 167, 168, 170, 171, 172, 173, 175, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 187, 188, 189, 190, 190, 191, 192, 193, 194, 195, 196, 197, 197, 198, 199, 200, 201, 201, 202, 203, 204, 204, 205, 205, 206, 206, 207, 207, 208, 208, 209, 209, 210, 210, 211, 211, 212, 212, 213, 213, 214, 214, 215, 215, 216, 216, 217, 217, 218, 218, 219, 219, 220, 220, 221, 221, 221, 222, 222, 223, 223, 224, 224, 225, 225, 225, 226, 226, 227, 227, 228, 228, 228, 229, 229, 230, 230, 231, 231, 231, 232, 232, 233, 233, 233, 234, 234, 235, 235, 235, 236, 236, 236, 237, 237, 238, 238, 238, 239, 239, 239, 240, 240, 240, 241, 241, 242, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 247, 248, 248, 249, 249, 250, 250, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252]",
+ "g": "[1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 19, 20, 21, 23, 24, 25, 27, 28, 30, 31, 33, 34, 36, 37, 39, 40, 42, 44, 45, 47, 49, 50, 52, 54, 56, 57, 59, 61, 63, 65, 67, 69, 71, 73, 75, 78, 80, 82, 85, 87, 89, 92, 94, 97, 99, 102, 104, 106, 109, 111, 114, 116, 118, 121, 123, 125, 127, 129, 131, 133, 135, 137, 139, 141, 143, 145, 146, 148, 150, 152, 154, 156, 157, 159, 161, 163, 164, 166, 168, 169, 171, 173, 174, 176, 178, 179, 181, 182, 184, 185, 187, 188, 190, 191, 192, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 205, 206, 207, 207, 208, 209, 209, 210, 210, 211, 211, 211, 212, 212, 213, 213, 213, 214, 214, 215, 215, 216, 216, 216, 217, 217, 218, 218, 219, 219, 220, 220, 220, 221, 221, 222, 222, 222, 223, 223, 224, 224, 225, 225, 225, 226, 226, 227, 227, 228, 228, 228, 229, 229, 230, 230, 231, 231, 232, 232, 232, 233, 233, 234, 234, 235, 235, 236, 236, 237, 237, 238, 238, 239, 239, 239, 240, 240, 241, 241, 242, 242, 243, 244, 244, 245, 246, 246, 247, 248, 249, 249, 250, 250, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252, 252]",
+ "b": "[2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9, 9, 10, 10, 11, 12, 12, 13, 13, 14, 15, 15, 16, 17, 17, 18, 19, 19, 20, 21, 22, 23, 24, 24, 25, 26, 27, 28, 29, 30, 32, 33, 34, 35, 36, 38, 39, 40, 42, 43, 45, 47, 48, 50, 52, 54, 56, 58, 60, 62, 64, 66, 68, 70, 72, 74, 76, 78, 80, 82, 84, 86, 87, 89, 91, 93, 95, 96, 98, 100, 101, 103, 105, 107, 108, 110, 112, 113, 115, 117, 118, 120, 122, 123, 125, 127, 128, 130, 131, 133, 135, 136, 138, 140, 141, 143, 145, 146, 148, 149, 151, 153, 154, 156, 158, 159, 161, 163, 164, 166, 167, 169, 170, 171, 173, 174, 175, 177, 178, 179, 180, 182, 183, 184, 185, 186, 187, 189, 190, 191, 192, 193, 194, 195, 195, 196, 197, 198, 198, 199, 200, 200, 201, 201, 202, 202, 203, 203, 204, 204, 204, 205, 205, 205, 206, 206, 206, 207, 207, 207, 207, 208, 208, 209, 209, 209, 210, 210, 211, 211, 211, 212, 212, 213, 213, 214, 214, 214, 215, 215, 216, 216, 216, 217, 217, 218, 218, 218, 219, 219, 220, 220, 220, 221, 221, 222, 222, 222, 223, 223, 224, 224, 225, 225, 226, 226, 227, 227, 227, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228, 228]"
+ },
+ "desaturate": false,
+ "vignette": false
+ }
+ },
+ {
+ "id": "adams",
+ "type": "default",
+ "title": "adams",
+ "thumbnail": "filters/adams.png",
+ "filter": {
+ "curves": false,
+ "desaturate": 1,
+ "vignette": true
+ }
+ },
+ {
+ "id": "weez",
+ "type": "default",
+ "title": "weez",
+ "thumbnail": "filters/weez.png",
+ "filter": {
+ "curves": {
+ "a": "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 255]",
+ "r": "[43, 44, 46, 47, 49, 50, 52, 53, 55, 56, 58, 59, 61, 62, 64, 65, 67, 69, 70, 72, 73, 75, 77, 78, 80, 81, 83, 85, 86, 88, 90, 91, 93, 95, 96, 98, 100, 102, 103, 105, 107, 109, 111, 112, 114, 116, 118, 120, 121, 123, 125, 127, 129, 130, 132, 134, 136, 137, 139, 141, 142, 144, 146, 147, 149, 151, 152, 154, 155, 157, 158, 160, 162, 163, 165, 166, 168, 169, 171, 172, 174, 175, 176, 178, 179, 180, 182, 183, 184, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 201, 202, 203, 204, 204, 205, 206, 207, 207, 208, 209, 210, 210, 211, 212, 212, 213, 214, 214, 215, 216, 217, 217, 218, 219, 219, 220, 221, 222, 222, 223, 224, 224, 225, 225, 226, 227, 227, 228, 228, 229, 229, 229, 230, 230, 231, 231, 232, 232, 232, 233, 233, 233, 234, 234, 235, 235, 235, 236, 236, 236, 237, 237, 237, 238, 238, 239, 239, 239, 240, 240, 240, 241, 241, 241, 242, 242, 242, 243, 243, 243, 243, 244, 244, 244, 245, 245, 245, 245, 245, 246, 246, 246, 246, 246, 247, 247, 247, 247, 247, 248, 248, 248, 248, 248, 248, 249, 249, 249, 249, 249, 249, 249, 250, 250, 250, 250, 250, 250, 250, 250, 251, 251, 251, 251, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254]",
+ "g": "[36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 36, 37, 37, 37, 37, 37, 37, 38, 38, 38, 39, 39, 40, 40, 41, 41, 42, 43, 43, 44, 45, 46, 47, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 86, 87, 88, 89, 90, 91, 92, 93, 95, 96, 97, 98, 99, 100, 101, 102, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 155, 156, 157, 158, 158, 159, 160, 160, 161, 161, 162, 163, 163, 164, 164, 165, 165, 166, 166, 167, 167, 168, 168, 168, 169, 169, 170, 171, 171, 172, 172, 173, 173, 174, 174, 175, 175, 176, 177, 177, 178, 178, 179, 179, 180, 180, 181, 181, 182, 182, 182, 183, 183, 184, 184, 184, 185, 185, 185, 186, 186, 186, 186, 187, 187, 187, 187, 188, 188, 188, 188, 188, 189, 189, 189, 189, 189, 190, 190, 190, 190, 190, 190, 190, 191, 191, 191, 191, 191, 191, 191, 191, 192, 192, 192, 192, 192, 192, 192, 192, 193, 193, 193, 193, 193, 193, 193, 193, 194, 194, 194, 194, 194, 194, 194, 195, 195, 195, 195]",
+ "b": "[69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 69, 70, 70, 70, 70, 70, 70, 70, 70, 70, 70, 71, 71, 71, 72, 72, 73, 73, 73, 74, 74, 75, 75, 76, 76, 77, 78, 78, 79, 79, 80, 80, 81, 81, 82, 82, 82, 83, 83, 84, 84, 84, 85, 85, 86, 86, 86, 87, 87, 87, 88, 88, 88, 89, 89, 90, 90, 90, 91, 91, 91, 92, 92, 93, 93, 93, 94, 94, 95, 95, 96, 96, 96, 97, 97, 98, 99, 99, 100, 100, 101, 101, 102, 102, 102, 103, 103, 103, 104, 104, 104, 105, 105, 105, 106, 106, 106, 106, 107, 107, 107, 107, 108, 108, 108, 108, 109, 109, 109, 110, 110, 110, 111, 111, 111, 111, 112, 112, 112, 113, 113, 113, 114, 114, 114, 115, 115, 115, 115, 116, 116, 116, 116, 117, 117, 117, 117, 117, 118, 118, 118, 118, 118, 118, 119, 119, 119, 119, 119, 119, 119, 120, 120, 120, 120, 120, 120, 120, 120, 120, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 121, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 122, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 123, 124, 124, 124, 124, 124, 124]"
+ },
+ "desaturate": false,
+ "vignette": false
+ }
+ },
+ {
+ "id": "glum",
+ "type": "default",
+ "title": "glum",
+ "thumbnail": "filters/glum.png",
+ "filter": {
+ "curves": {
+ "a": "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 255]",
+ "r": "[56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 56, 57, 57, 58, 58, 59, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 71, 72, 73, 75, 76, 78, 79, 81, 82, 84, 85, 87, 88, 90, 91, 93, 95, 96, 98, 100, 102, 104, 106, 108, 110, 113, 115, 117, 120, 122, 124, 127, 129, 131, 133, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 155, 157, 159, 160, 162, 164, 165, 167, 168, 170, 171, 173, 174, 175, 177, 178, 179, 181, 182, 183, 185, 186, 187, 189, 190, 191, 192, 194, 195, 196, 197, 198, 200, 201, 202, 203, 204, 205, 206, 208, 209, 209, 210, 211, 212, 213, 214, 215, 216, 217, 217, 218, 219, 220, 220, 221, 222, 223, 223, 224, 225, 226, 226, 227, 228, 228, 229, 230, 230, 231, 231, 232, 233, 233, 234, 234, 235, 235, 236, 237, 237, 238, 238, 239, 239, 240, 240, 240, 241, 241, 242, 242, 243, 243, 243, 244, 244, 245, 245, 245, 246, 246, 246, 247, 247, 247, 248, 248, 248, 248, 249, 249, 249, 249, 250, 250, 250, 250, 251, 251, 251, 251, 251, 252, 252, 252, 252, 252, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]",
+ "g": "[38, 39, 39, 40, 41, 41, 42, 42, 43, 44, 44, 45, 46, 46, 47, 48, 49, 50, 51, 52, 53, 55, 56, 57, 59, 60, 61, 63, 64, 65, 67, 68, 69, 71, 72, 73, 74, 76, 77, 78, 80, 81, 82, 84, 85, 86, 87, 89, 90, 91, 93, 94, 95, 97, 98, 99, 101, 102, 103, 104, 106, 107, 108, 110, 111, 112, 114, 115, 116, 118, 119, 121, 122, 123, 125, 126, 128, 129, 130, 132, 133, 134, 136, 137, 138, 140, 141, 142, 143, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 158, 159, 160, 161, 162, 163, 163, 164, 165, 166, 166, 167, 168, 169, 169, 170, 171, 172, 172, 173, 174, 175, 176, 176, 177, 178, 179, 180, 181, 181, 182, 183, 184, 185, 186, 187, 187, 188, 189, 189, 190, 191, 191, 192, 193, 193, 194, 194, 195, 195, 196, 197, 197, 198, 198, 199, 199, 200, 200, 201, 201, 202, 202, 202, 203, 203, 204, 204, 205, 205, 205, 206, 206, 207, 207, 207, 208, 208, 208, 209, 209, 209, 210, 210, 210, 211, 211, 211, 212, 212, 212, 213, 213, 213, 213, 214, 214, 214, 214, 215, 215, 215, 215, 216, 216, 216, 216, 216, 217, 217, 217, 217, 217, 218, 218, 218, 218, 218, 218, 219, 219, 219, 219, 219, 220, 220, 220, 220, 220, 220, 220, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221, 221]",
+ "b": "[97, 98, 98, 99, 99, 100, 100, 101, 101, 102, 102, 103, 104, 104, 105, 105, 106, 107, 107, 108, 109, 110, 110, 111, 112, 113, 114, 114, 115, 116, 116, 117, 118, 118, 119, 119, 120, 120, 121, 121, 122, 122, 123, 123, 124, 124, 124, 125, 125, 126, 126, 127, 127, 127, 128, 128, 129, 129, 129, 130, 130, 131, 131, 132, 132, 132, 133, 133, 134, 134, 135, 135, 136, 136, 136, 137, 137, 138, 138, 139, 139, 139, 140, 140, 141, 141, 142, 142, 142, 143, 143, 144, 144, 144, 145, 145, 146, 146, 147, 147, 147, 148, 148, 149, 149, 150, 150, 151, 151, 151, 152, 152, 153, 153, 154, 154, 154, 155, 155, 155, 156, 156, 156, 157, 157, 157, 158, 158, 158, 158, 158, 158, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 159, 160, 160, 160, 160, 160, 161, 161, 161, 162, 162, 162, 162, 163, 163, 163, 163, 164, 164, 164, 164, 165, 165, 165, 165, 165, 165, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 166, 167, 167, 167, 167, 167, 167, 167, 167, 167, 168, 168, 168, 168, 168, 168, 169, 169, 169, 169, 169, 170, 170, 170, 170, 171, 171, 171, 171, 171, 172, 172, 172, 172, 172, 173, 173, 173, 173, 173, 173, 173, 174, 174, 174, 174, 174, 174, 174, 174, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 175, 176, 176, 176, 176, 176, 176, 176, 176, 176, 176]"
+ },
+ "desaturate": false,
+ "vignette": false
+ }
+ },
+ {
+ "id": "f/2.8",
+ "type": "default",
+ "title": "f/28",
+ "thumbnail": "filters/f28.png",
+ "filter": {
+ "curves": {
+ "a": "[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 208, 209, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 255]",
+ "r": "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 2, 2, 2, 3, 3, 4, 4, 5, 5, 5, 6, 7, 7, 8, 8, 9, 9, 10, 11, 11, 12, 13, 14, 14, 15, 16, 17, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 31, 32, 33, 34, 35, 37, 38, 39, 41, 42, 43, 45, 46, 48, 49, 51, 52, 54, 55, 57, 58, 60, 62, 63, 65, 67, 68, 70, 72, 74, 76, 77, 79, 81, 83, 85, 87, 89, 91, 93, 95, 97, 99, 101, 103, 105, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 141, 143, 145, 147, 149, 151, 153, 155, 157, 159, 161, 163, 165, 167, 169, 171, 172, 174, 176, 178, 180, 182, 184, 186, 188, 189, 191, 193, 194, 196, 198, 199, 201, 202, 204, 205, 207, 208, 209, 211, 212, 214, 215, 216, 217, 219, 220, 221, 222, 223, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 239, 240, 241, 242, 243, 243, 244, 245, 246, 246, 247, 248, 248, 249, 249, 250, 250, 251, 251, 252, 252, 252, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255]",
+ "g": "[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 5, 6, 6, 7, 7, 8, 8, 9, 10, 10, 11, 12, 12, 13, 14, 14, 15, 16, 17, 18, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 33, 34, 35, 36, 37, 39, 40, 41, 43, 44, 45, 47, 48, 50, 51, 53, 54, 56, 57, 59, 61, 62, 64, 66, 67, 69, 71, 73, 75, 76, 78, 80, 82, 84, 86, 88, 90, 92, 94, 96, 98, 100, 102, 104, 106, 108, 110, 112, 114, 116, 118, 120, 122, 124, 126, 128, 130, 132, 134, 136, 138, 140, 142, 144, 146, 148, 150, 152, 154, 156, 158, 160, 161, 163, 165, 167, 169, 171, 173, 175, 176, 178, 180, 182, 183, 185, 187, 189, 190, 192, 193, 195, 197, 198, 200, 201, 203, 204, 206, 207, 209, 210, 211, 213, 214, 216, 217, 218, 219, 221, 222, 223, 224, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 237, 238, 239, 240, 240, 241, 242, 243, 243, 244, 244, 245, 246, 246, 247, 247, 248, 248, 249, 249, 250, 250, 250, 251, 251, 252, 252, 252, 253, 253, 253, 253, 253, 253, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 254, 255, 255, 255, 255, 255, 255, 255, 255, 255, 255]",
+ "b": "[24, 25, 26, 27, 28, 28, 29, 30, 31, 32, 33, 34, 35, 35, 36, 37, 38, 39, 40, 41, 41, 42, 43, 44, 45, 45, 46, 47, 48, 49, 49, 50, 51, 52, 53, 53, 54, 55, 56, 56, 57, 58, 59, 59, 60, 61, 62, 62, 63, 64, 64, 65, 66, 67, 67, 68, 69, 70, 70, 71, 72, 73, 73, 74, 75, 76, 77, 77, 78, 79, 80, 81, 81, 82, 83, 84, 85, 86, 86, 87, 88, 89, 90, 91, 91, 92, 93, 94, 95, 96, 96, 97, 98, 99, 100, 101, 101, 102, 103, 104, 105, 106, 107, 107, 108, 109, 110, 111, 112, 113, 114, 114, 115, 116, 117, 118, 119, 119, 120, 121, 122, 123, 124, 124, 125, 126, 127, 127, 128, 129, 129, 130, 130, 131, 131, 132, 132, 133, 134, 134, 135, 136, 137, 138, 138, 139, 140, 141, 142, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 162, 163, 164, 165, 165, 166, 167, 168, 168, 169, 170, 171, 171, 172, 173, 173, 174, 175, 176, 176, 177, 178, 178, 179, 180, 181, 182, 182, 183, 184, 185, 185, 186, 187, 188, 189, 189, 190, 191, 192, 193, 193, 194, 195, 196, 197, 197, 198, 199, 200, 200, 201, 202, 203, 204, 204, 205, 206, 206, 207, 208, 208, 209, 210, 210, 211, 212, 212, 213, 214, 215, 215, 216, 217, 218, 218, 219, 220, 221, 221, 222, 223, 224, 225, 226, 226, 227, 228, 229]"
+ },
+ "desaturate": false,
+ "vignette": false
+ }
+ }
+]
View
BIN  Filtermama-Lite/assets/filters/glum.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/assets/filters/normal.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/assets/filters/queens.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/assets/filters/stout.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN  Filtermama-Lite/assets/filters/weez.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
24 Filtermama-Lite/assets/htdocs/blank.html
@@ -0,0 +1,24 @@
+<!--
+ Copyright 2013 Chad Tetreault
+ http://palebanana.com - @chadtatro
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ express or implied. See the License for the specific language
+ governing permissions and limitations under the License.
+-->
+
+<!DOCTYPE html>
+<html>
+<head>
+</head>
+<body>
+</body>
+</html>
View
59 Filtermama-Lite/assets/htdocs/css/style.css
@@ -0,0 +1,59 @@
+/* Copyright (c) 2013 Chad Tetreault
+ * http://palebanana.com - @chadtatro
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+* {
+ padding: 0;
+ margin: 0;
+}
+
+body {
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIcAAACHCAYAAAA850oKAAAACXBIWXMAAAsTAAALEwEAmpwYAAAKT2lDQ1BQaG90b3Nob3AgSUNDIHByb2ZpbGUAAHjanVNnVFPpFj333vRCS4iAlEtvUhUIIFJCi4AUkSYqIQkQSoghodkVUcERRUUEG8igiAOOjoCMFVEsDIoK2AfkIaKOg6OIisr74Xuja9a89+bN/rXXPues852zzwfACAyWSDNRNYAMqUIeEeCDx8TG4eQuQIEKJHAAEAizZCFz/SMBAPh+PDwrIsAHvgABeNMLCADATZvAMBy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4y36u+WSSaN5DqciF+XYStJs4OyavFWTIsl29u2Q+zrbPvRvqYeCcgnpVomGobLXdShxzySIOCNBi74UdjOwtruWxjf7pcyC9OAHf++/57NMh37W4vy/AQDRWhTsdOnvjAAAAABJRU5ErkJggg==);
+}
+
+canvas {
+ display: none;
+}
+
+#the-photo {
+ position: absolute;
+ top: 74px;
+ left: 0;
+}
+
+/*q10*/
+@media screen and (max-height: 720px){
+ #the-photo {
+ position: absolute;
+ width: 720px !important;
+ height: 720px !important;
+ padding: 0;
+ margin: 0;
+ top: 0 !important;
+ left: 0;
+ }
+}
+
+/*z10*/
+@media screen and (min-height: 721px) and (min-width: 768px) {
+ #the-photo {
+ position: absolute;
+ width: 100%;
+ padding: 0;
+ margin: 0;
+ top: 2%;
+ left: 0;
+ }
+}
View
49 Filtermama-Lite/assets/htdocs/index.html
@@ -0,0 +1,49 @@
+<!--
+ Copyright 2013 Chad Tetreault
+ http://palebanana.com - @chadtatro
+
+ Licensed under the Apache License, Version 2.0 (the "License");
+ you may not use this file except in compliance with the License.
+ You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing, software
+ distributed under the License is distributed on an "AS IS" BASIS,
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
+ express or implied. See the License for the specific language
+ governing permissions and limitations under the License.
+-->
+
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>Filtermama Lit</title>
+
+ <!-- viewport setup -->
+ <script>
+ var meta = document.createElement("meta");
+ meta.setAttribute('name', 'viewport');
+ meta.setAttribute('content', 'initial-scale=' + (1 / window.devicePixelRatio) + ',user-scalable=no');
+ document.getElementsByTagName('head')[0].appendChild(meta);
+ </script>
+
+ <!-- style sheets -->
+ <link rel="stylesheet" type="text/css" href="css/style.css" />
+ </head>
+
+ <body>
+ <div id="App">
+ <canvas id="canvas"></canvas>
+ <img id="the-photo" src="../images/blank.png"/>
+ </div>
+
+ <!-- core -->
+ <script src="js/lib/jquery.js"></script>
+ <script src="js/lib/jquery.filterme.js"></script>
+
+ <!-- app -->
+ <script src="js/index.js"></script>
+
+ </body>
+</html>
View
182 Filtermama-Lite/assets/htdocs/js/index.js
@@ -0,0 +1,182 @@
+/* Copyright (c) 2013 Chad Tetreault
+ * http://palebanana.com - @chadtatro
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+/* ==================================================
+ * GLOBALS
+ * ==================================================
+ */
+
+App = {};
+Settings = {};
+b64Cache = [];
+
+filtering = false;
+thePhoto = document.getElementById('the-photo');
+thePhoto.style.height = window.innerWidth + 'px';
+
+var theCanvas = document.getElementById('canvas');
+theCanvas.style.width = window.innerWidth;
+theCanvas.style.height = window.innerWidth;
+
+
+
+/* ==================================================
+ * HANDLE NATIVE CHIT-CHAT
+ * ==================================================
+ */
+
+try {
+ navigator.cascades.onmessage = function onmessage(message) {
+ message = JSON.parse(message);
+
+ // load photo
+ if (message.cmd === 'loadPhoto') {
+ thePhoto.src = 'data:image/png;base64,' + message.data;
+ prepareImage();
+
+ // save photo
+ } else if (message.cmd === 'savePhoto') {
+ savePhoto();
+
+ // filter the image
+ } else if (message.cmd === 'filter') {
+ if (!filtering) {
+ setTimeout(function() {
+ filtering = true;
+ process(message.data);
+ }, 350);
+ } else {
+ return;
+ }
+ }
+ };
+} catch (e) {}
+
+
+
+/* ==================================================
+ * PREPARE BASE64 FOR SAVING
+ * ==================================================
+ */
+
+var savePhoto = function() {
+ var b64 = thePhoto.src;
+ navigator.cascades.postMessage(b64);
+};
+
+
+
+/* ==================================================
+ * PROCESS FILTERS
+ * ==================================================
+ */
+
+var process = function(effect) {
+ filterId = effect.id;
+
+ // normal filter, reset the image source
+ if (effect.id === 'normal') {
+ thePhoto.src = b64Cache['normal'];
+ navigator.cascades.postMessage('filter-done');
+ filtering = false;
+ return;
+
+ } else {
+
+ // if filter already applied and cached, change the image source to cahced base64 data
+ if (b64Cache[effect.id]) {
+ thePhoto.src = b64Cache[effect.id];
+ filtering = false;
+ setTimeout(function() {
+ navigator.cascades.postMessage('filter-done');
+ }, 250);
+
+ // filter not cached, filter the image now
+ } else {
+
+ // build the curves array if needed
+ if (effect.filter.curves) {
+ var a = effect.filter.curves.a;
+ var r = effect.filter.curves.r;
+ var g = effect.filter.curves.g;
+ var b = effect.filter.curves.b;
+
+ a = JSON.parse("[" + a + "]");
+ r = JSON.parse("[" + r + "]");
+ g = JSON.parse("[" + g + "]");
+ b = JSON.parse("[" + b + "]");
+
+ curvesObject = {
+ "a": a[0],
+ "r": r[0],
+ "g": g[0],
+ "b": b[0]
+ };
+
+ // not using curves for this filter, set to false
+ } else {
+ curvesObject = false;
+ }
+
+ // build the filter object which we send to filter.me
+ var filter = {
+ curves: curvesObject,
+ desaturate: effect.filter.desaturate,
+ vignette: effect.filter.vignette
+ };
+
+ // process the filter
+ jQuery(document).ready(function($) {
+ $('#the-photo').filterMe(
+ filter
+ );
+
+ // 'done filtering' callback
+ $(this).bind('filterMe.processEnd', function(event, base) {
+ filtering = false;
+ b64Cache[filterId] = thePhoto.src;
+ navigator.cascades.postMessage('filter-done');
+ });
+ });
+ }
+ }
+};
+
+
+
+/* ==================================================
+ * LOAD, RESCALE, AND CREATE THE PHOTO
+ * ==================================================
+ */
+
+var prepareImage = function(filepath, success, error) {
+ setTimeout(function() {
+ var canvas = jQuery('canvas').get(0);
+ var ctx = canvas.getContext('2d');
+
+ // we want a square image
+ canvas.width = window.innerWidth;
+ canvas.height = window.innerWidth;
+ ctx.drawImage(thePhoto, 0, 0, canvas.width, canvas.height);
+
+ // clear the cache if it exists, and set the 'normal' image data
+ b64Cache = [];
+ b64Cache['normal'] = canvas.toDataURL('image/png');
+
+ // set the photo source
+ thePhoto.src = b64Cache['normal'];
+ }, 100);
+};
View
269 Filtermama-Lite/assets/htdocs/js/lib/jquery.filterme.js
@@ -0,0 +1,269 @@
+/*
+ * jQuery filter.me is Dual licensed under the MIT (http://www.opensource.org/licenses/mit-license.php) and GPL (http://www.opensource.org/licenses/gpl-license.php) licenses.
+ * Copyright © 2012 Matthew Ruddy (http://matthewruddy.com).
+ *
+ * @author Matthew Ruddy
+ * @version 1.0
+ */
+
+(function($) {
+
+ /*
+ * Main plugin object
+ */
+ $.filterMe = function(el, options) {
+
+ var base = this,
+ filter,
+ o;
+
+ // Store the jQuery element and create canvas element
+ base.$el = $(el);
+ base.canvas = document.createElement('canvas');
+ base.ctx = base.canvas.getContext('2d');
+ base.url = '';
+
+ /*
+ * Initiate filter
+ */
+ base._init = function() {
+
+ // Get the filter (from the images data-filter attribute)
+ //filter = $.filterMe.filters[base.$el.data('filter')] || false;
+ filter = options || false;
+
+ // Get the options
+ o = base.options = $.extend({}, $.filterMe.defaults, filter);
+
+ // Trigger actions
+ base.$el.trigger('fitlerIO._init', base);
+
+ // Begin the process
+ base.process();
+
+ };
+
+ /*
+ * Processes and image and applies the effects
+ */
+ base.process = function() {
+
+ // Check for canvas support before continuing
+ if (!base.canvas.getContext)
+ return;
+
+ // Let's go!
+ var image = new Image();
+
+ // Get image src and load it
+ // image.src = base.$el.attr('src');
+ image.src = b64Cache['normal'] || base.$el.attr('src');
+
+ image.onload = function() {
+
+ // Set the canvas dimensions
+ base.canvas.width = window.innerWidth;
+ base.canvas.height = window.innerWidth;
+
+ // Draw the image onto the canvas
+ base.ctx.drawImage(this, 0, 0, this.width, this.height, 0, 0, base.canvas.width, base.canvas.height);
+
+ // Trigger beginning action
+ base.$el.trigger('filterMe.processBegin', base);
+
+ // Apply curves effect
+ if (o.curves)
+
+ base.addCurves();
+
+ // Apply desaturation
+ if (o.desaturate)
+ base.deSaturate(o.desaturate);
+
+ // Apply vignette effect
+ if (o.vignette)
+ base.addVignette();
+
+ // Get the output URL globally (for ease of access)
+ base.url = base.outputURL();
+
+ // Output the image!
+ base.outputImage();
+
+ // Processing finished action
+ base.$el.trigger('filterMe.processEnd', base);
+
+ };
+ };
+
+ /*
+ * Does a desaturation
+ */
+ base._doSaturation = function(saturation) {
+
+ // Saturation fallback
+ saturation = saturation || 1;
+
+ // Get image data
+ var imageData = base.ctx.getImageData(0, 0, base.canvas.width, base.canvas.height),
+ data = imageData.data,
+ length = data.length,
+ average;
+
+ // Apply the desaturation
+ for (var i = 0; i < length; i += 4) {
+ average = (data[i] + data[i + 1] + data[i + 2]) / 3;
+ data[i] += (Math.round(average - data[i] * saturation));
+ data[i + 1] += (Math.round(average - data[i + 1] * saturation));
+ data[i + 2] += (Math.round(average - data[i + 2] * saturation));
+ }
+
+ // Restore modified image data
+ imageData.data = data;
+ return imageData;
+ };
+
+ /*
+ * Applies a desaturation
+ */
+ base.deSaturate = function(saturation) {
+
+ // Do the desaturation
+ var imageData = base._doSaturation(saturation);
+
+ // Put the image data
+ base.putImageData(imageData);
+ };
+
+ /*
+ * Does a curves adjustment
+ */
+ base._doCurves = function() {
+
+ var curves,
+ i;
+
+ // Get the curves
+ curves = o.curves;
+
+ // Get the canvas image data
+ var imageData = base.ctx.getImageData(0, 0, base.canvas.width, base.canvas.height),
+ data = imageData.data,
+ length = data.length;
+
+ // Apply the color R, G, B values to each individual pixel
+ for (i = 0; i < length; i += 4) {
+ data[i] = curves.r[data[i]];
+ data[i + 1] = curves.g[data[i + 1]];
+ data[i + 2] = curves.b[data[i + 2]];