This file contains 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
#include <cstdlib> | |
#include <cstring> | |
int main(int argc, char **argv) { | |
char str[1024]; | |
#ifdef __linux__ | |
strcpy(str, "/opt/google/chrome/chrome"); | |
#endif |
This file contains 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
Import mojo | |
Global SWIPE_QUICK_MS:Int = 500 | |
Global TOUCH_RADIUS_THRESHOLD:Int = 15 | |
Class Point | |
Public | |
Field x:Float | |
Field y:Float | |
Method New(xx:Float, yy:Float) |