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
{ | |
"identifier" : "CDBGlobalGrid", | |
"title" : "CDBGlobalGrid", | |
"boundingBox" : { | |
"crs" : "http://www.opengis.net/def/crs/EPSG/0/4326", | |
"lowerCorner" : [ | |
-90, | |
-180 | |
], | |
"upperCorner" : [ |
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
{ | |
"name" : "NewRoute", | |
"waypoints" : { | |
"type" : "MultiPoint", | |
"coordinates" : [ | |
[ | |
-77.0243999441268, | |
38.8920799777341 | |
], | |
[ |
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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- BEGIN_INCLUDE(manifest) --> | |
<manifest xmlns:android="http://schemas.android.com/apk/res/android" | |
package="com.ecere.hello" | |
android:versionCode="1" | |
android:versionName="1.0"> | |
<!-- This is the platform API where NativeActivity was introduced. --> | |
<uses-sdk android:minSdkVersion="9" /> | |
<uses-permission android:name="android.permission.INTERNET" /> |
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
# -*- coding: utf-8 -*- | |
"""2.sample.py pyecere sample""" | |
from pyecere import * | |
# driver = "OpenGL" | |
app = GuiApplication(appGlobals=globals()) | |
printLn("Testing Variadic Functions!\n", 1, " + ", 2, " = ", 1+2) | |
printLn("Pi = ", 3.141592653589) | |
a = Array("<int>") | |
a.add(3) |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
from pyecere import * | |
class CubeApp(GuiApplication): | |
def __init__(self, appGlobals): | |
GuiApplication.__init__(self, appGlobals = appGlobals) | |
self.driver = "OpenGL" |
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
#!/usr/bin/env python3 | |
# -*- coding: utf-8 -*- | |
from pyecere import * | |
class CubeApp(GuiApplication): | |
def __init__(self, appGlobals): | |
GuiApplication.__init__(self, appGlobals = appGlobals) | |
self.driver = "OpenGL" |
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
/**************************************************************************** | |
A Virtual Reality sample using OpenVR, the Ecere SDK and the eC language | |
- adapted from OpenVR samples/hellovr_opengl_main.cpp | |
(Copyright Valve Corporation) | |
****************************************************************************/ | |
import "ecere" | |
#define bool VRbool | |
#include <openvr_capi.h> | |
#undef bool |
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
package com.ecere.hello; | |
public class hello extends android.app.NativeActivity | |
{ | |
static | |
{ | |
System.loadLibrary("ecere"); | |
System.loadLibrary("hello"); | |
} | |
} |
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 "ecere" | |
class HelloForm : Window | |
{ | |
caption = $"Hello Form"; | |
background = formColor; | |
borderStyle = sizable; | |
hasMaximize = true; | |
hasMinimize = true; | |
hasClose = true; |