This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
private class PageActionListener implements ActionListener { | |
private int page; | |
public PageActionListener(int page) { | |
this.page = page; | |
} | |
public void actionPerformed(ActionEvent e) { | |
setPage(page); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$endupload = "up"; | |
class phpVimeo | |
{ | |
const API_REST_URL = 'http://vimeo.com/api/rest/v2'; | |
const API_AUTH_URL = 'http://vimeo.com/oauth/authorize'; | |
const API_ACCESS_TOKEN_URL = 'http://vimeo.com/oauth/access_token'; | |
const API_REQUEST_TOKEN_URL = 'http://vimeo.com/oauth/request_token'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Got this from here: http://developer.appcelerator.com/question/42021/scrollableview---manually-position-the-pagingcontrol | |
To make this: | |
Open /Library/Application Support/Titanium/mobilesdk/osx/1.x.x/iphone/Classes/TiUIScrollableView.m (where 1.x.x is your version of sdk, like 1.4.2, 1.4.3 or 1.5.0) | |
find this line in this file: | |
viewBounds.size.height = visibleBounds.size.height - (showPageControl ? pageControlHeight : 0); | |
and change to this: |