├── .gitignore ├── DefaultIcon-ios.png ├── DefaultIcon.png ├── LICENSE ├── MarketplaceArtwork.png ├── app ├── README ├── alloy.js ├── assets │ ├── android │ │ ├── appicon.png │ │ ├── default.png │ │ └── images │ │ │ ├── res-long-land-hdpi │ │ │ └── default.png │ │ │ ├── res-long-land-ldpi │ │ │ └── default.png │ │ │ ├── res-long-land-mdpi │ │ │ └── default.png │ │ │ ├── res-long-port-hdpi │ │ │ └── default.png │ │ │ ├── res-long-port-ldpi │ │ │ └── default.png │ │ │ ├── res-notlong-land-hdpi │ │ │ └── default.png │ │ │ ├── res-notlong-land-ldpi │ │ │ └── default.png │ │ │ ├── res-notlong-land-mdpi │ │ │ └── default.png │ │ │ ├── res-notlong-port-hdpi │ │ │ └── default.png │ │ │ ├── res-notlong-port-ldpi │ │ │ └── default.png │ │ │ └── res-notlong-port-mdpi │ │ │ └── default.png │ ├── iphone │ │ ├── Default-568h@2x.png │ │ ├── Default-667h@2x.png │ │ ├── Default-Landscape-736h@3x.png │ │ ├── Default-Landscape.png │ │ ├── Default-Landscape@2x.png │ │ ├── Default-Portrait-736h@3x.png │ │ ├── Default-Portrait.png │ │ ├── Default-Portrait@2x.png │ │ ├── Default.png │ │ ├── Default@2x.png │ │ ├── appicon-60.png │ │ ├── appicon-60@2x.png │ │ ├── appicon-60@3x.png │ │ ├── appicon-72.png │ │ ├── appicon-72@2x.png │ │ ├── appicon-76.png │ │ ├── appicon-76@2x.png │ │ ├── appicon-Small-40.png │ │ ├── appicon-Small-40@2x.png │ │ ├── appicon-Small-50.png │ │ ├── appicon-Small-50@2x.png │ │ ├── appicon-Small.png │ │ ├── appicon-Small@2x.png │ │ ├── appicon.png │ │ ├── appicon@2x.png │ │ ├── iTunesArtwork │ │ └── iTunesArtwork@2x │ ├── mobileweb │ │ ├── appicon.png │ │ ├── apple_startup_images │ │ │ ├── Default-Landscape.jpg │ │ │ ├── Default-Landscape.png │ │ │ ├── Default-Portrait.jpg │ │ │ ├── Default-Portrait.png │ │ │ ├── Default.jpg │ │ │ ├── Default.png │ │ │ └── README │ │ └── splash │ │ │ ├── README │ │ │ ├── appc.png │ │ │ ├── splash.css │ │ │ ├── splash.html │ │ │ └── titanium.png │ └── windows │ │ ├── Logo.png │ │ ├── SmallLogo.png │ │ ├── SplashScreen.png │ │ └── StoreLogo.png ├── config.json ├── controllers │ └── index.js ├── styles │ ├── app.tss │ └── index.tss ├── views │ └── index.xml └── widgets │ └── com.skypanther.segmentedcontrol │ ├── controllers │ ├── button.js │ └── widget.js │ ├── styles │ ├── button.tss │ └── widget.tss │ ├── views │ ├── button.xml │ └── widget.xml │ └── widget.json ├── iTunesConnect.png ├── images ├── android.png └── iphone5.png ├── plugins └── ti.alloy │ ├── hooks │ ├── alloy.js │ └── deepclean.js │ └── plugin.py ├── readme.md └── tiapp.xml /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | Resources 3 | build.log 4 | build 5 | npm-debug.log 6 | tmp 7 | .map 8 | .project 9 | .settings 10 | Thumbs.db -------------------------------------------------------------------------------- /DefaultIcon-ios.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/DefaultIcon-ios.png -------------------------------------------------------------------------------- /DefaultIcon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/DefaultIcon.png -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | Copyright (c) 2016, Tim Poulsen 3 | 4 | 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: 5 | 6 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 7 | 8 | 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. -------------------------------------------------------------------------------- /MarketplaceArtwork.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/MarketplaceArtwork.png -------------------------------------------------------------------------------- /app/README: -------------------------------------------------------------------------------- 1 | Welcome to Alloy. Prepare to be amazed. 2 | ======================================= 3 | 4 | Titanium Alloys are metals which contain a mixture of Titanium and other chemical elements. Such Alloys have very high tensile strength and toughness (even at extreme temperatures). They are light weight, have extraordinary corrosion resistance and the ability to withstand extreme temperatures [1]. 5 | 6 | Alloy for Titanium provides you, the developer, with the ability to run fast, jump high and generally code like an amazing superstar. 7 | 8 | Codestrong! 9 | 10 | [1] http://en.wikipedia.org/wiki/Titanium_alloy 11 | 12 | ------------------------- 13 | Now to the serious stuff. 14 | ------------------------- 15 | 16 | Here's how your Alloy directory is laid out. 17 | 18 | models your model files go here 19 | controllers your controllers files go here 20 | views yep, the views go here. you're getting it 21 | styles your style (.tss) files for your views go here 22 | assets All files here will be deployed into Resources 23 | 24 | Folders not generated by Alloy automatically, but the developer can create and use. 25 | 26 | lib put your own libraries here and use require('name') to load it 27 | migrations generated model migrations go here 28 | widgets pre-built, reusable components for your Ally apps. 29 | 30 | Also, in the root is the alloy.jmk file and config.json. Alloy.jmk acts like a makefile and can be used to hook into the Alloy compiler to customize the build process. The config.json file is where you can declare runtime contstants, and widget dependencies. 31 | 32 | -------------------------------------------------------------------------------- /app/alloy.js: -------------------------------------------------------------------------------- 1 | // The contents of this file will be executed before any of 2 | // your view controllers are ever executed, including the index. 3 | // You have access to all functionality on the `Alloy` namespace. 4 | // 5 | // This is a great place to do any initialization for your app 6 | // or create any global variables/functions that you'd like to 7 | // make available throughout your app. You can easily make things 8 | // accessible globally by attaching them to the `Alloy.Globals` 9 | // object. For example: 10 | // 11 | // Alloy.Globals.someGlobalFunction = function(){}; 12 | -------------------------------------------------------------------------------- /app/assets/android/appicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/appicon.png -------------------------------------------------------------------------------- /app/assets/android/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-long-land-hdpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-long-land-hdpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-long-land-ldpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-long-land-ldpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-long-land-mdpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-long-land-mdpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-long-port-hdpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-long-port-hdpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-long-port-ldpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-long-port-ldpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-notlong-land-hdpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-notlong-land-hdpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-notlong-land-ldpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-notlong-land-ldpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-notlong-land-mdpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-notlong-land-mdpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-notlong-port-hdpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-notlong-port-hdpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-notlong-port-ldpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-notlong-port-ldpi/default.png -------------------------------------------------------------------------------- /app/assets/android/images/res-notlong-port-mdpi/default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/android/images/res-notlong-port-mdpi/default.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-568h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-568h@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-667h@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-667h@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-Landscape-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-Landscape-736h@3x.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-Landscape.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-Landscape@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-Landscape@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-Portrait-736h@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-Portrait-736h@3x.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-Portrait.png -------------------------------------------------------------------------------- /app/assets/iphone/Default-Portrait@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default-Portrait@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default.png -------------------------------------------------------------------------------- /app/assets/iphone/Default@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/Default@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-60.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-60@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-60@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-60@3x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-60@3x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-72.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-72@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-72@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-76.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-76.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-76@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-76@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-Small-40.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-Small-40.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-Small-40@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-Small-40@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-Small-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-Small-50.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-Small-50@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-Small-50@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-Small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-Small.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon-Small@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon-Small@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon.png -------------------------------------------------------------------------------- /app/assets/iphone/appicon@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/appicon@2x.png -------------------------------------------------------------------------------- /app/assets/iphone/iTunesArtwork: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/iTunesArtwork -------------------------------------------------------------------------------- /app/assets/iphone/iTunesArtwork@2x: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/iphone/iTunesArtwork@2x -------------------------------------------------------------------------------- /app/assets/mobileweb/appicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/mobileweb/appicon.png -------------------------------------------------------------------------------- /app/assets/mobileweb/apple_startup_images/Default-Landscape.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/mobileweb/apple_startup_images/Default-Landscape.jpg -------------------------------------------------------------------------------- /app/assets/mobileweb/apple_startup_images/Default-Landscape.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/mobileweb/apple_startup_images/Default-Landscape.png -------------------------------------------------------------------------------- /app/assets/mobileweb/apple_startup_images/Default-Portrait.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/mobileweb/apple_startup_images/Default-Portrait.jpg -------------------------------------------------------------------------------- /app/assets/mobileweb/apple_startup_images/Default-Portrait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/mobileweb/apple_startup_images/Default-Portrait.png -------------------------------------------------------------------------------- /app/assets/mobileweb/apple_startup_images/Default.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/mobileweb/apple_startup_images/Default.jpg -------------------------------------------------------------------------------- /app/assets/mobileweb/apple_startup_images/Default.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/skypanther/SegmentedControl/1fc10d38deb60154a920784f073458097dea0c4d/app/assets/mobileweb/apple_startup_images/Default.png -------------------------------------------------------------------------------- /app/assets/mobileweb/apple_startup_images/README: -------------------------------------------------------------------------------- 1 | These startup images are used by iPhone and iPad apps that are installed to the 2 | home screen. These images are displayed before the splash screen is displayed. 3 | 4 | If you want to create a new splash screen, it is recommended that you start by 5 | modifying the files in the adjacent "splash" folder, then take screenshots of 6 | device, crop, and save into this directory. This is the best way to avoid visual 7 | artifacts when the app transitions from the Apple startup images to the splash 8 | screen assets. 9 | 10 | IMPORTANT! Only one file format of each unique filename will be copied. PNG is 11 | preferred over JPG. In other words, if "Default.png" exists, it will be copied 12 | instead of "Default.jpg". -------------------------------------------------------------------------------- /app/assets/mobileweb/splash/README: -------------------------------------------------------------------------------- 1 | This folder contains assets to make the startup splash screen assets. Splash 2 | screens are made up of HTML and CSS. This allows you the flexibility to 3 | customize your splash screen to fit a variety of screen sizes and orientations. 4 | 5 | 6 | splash.html 7 | ----------- 8 | Contains an HTML fragment that is inserted into a div tag with an id="splash". 9 | You can choose to leave this file empty. You can put