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 java.io.StringWriter; | |
import java.util.Map; | |
import javax.servlet.ServletContext; | |
import org.apache.velocity.Template; | |
import org.apache.velocity.VelocityContext; | |
import org.apache.velocity.app.Velocity; |
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
/** | |
Conver meta text to document | |
metas | |
line equals #page , do page break | |
line ends with #14b ,line convert to font-size 14 and bold text | |
todo | |
#{font-size}{i|b|p|ib}; |
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.akjava.gwt.html5.client.file.ui; | |
import com.google.gwt.event.dom.client.DragLeaveEvent; | |
import com.google.gwt.event.dom.client.DragLeaveHandler; | |
import com.google.gwt.event.dom.client.DragOverEvent; | |
import com.google.gwt.event.dom.client.DragOverHandler; | |
import com.google.gwt.event.dom.client.DropEvent; | |
import com.google.gwt.event.dom.client.DropHandler; | |
import com.google.gwt.event.dom.client.HasDragLeaveHandlers; | |
import com.google.gwt.event.dom.client.HasDragOverHandlers; |
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.akjava.gwt.servletmaker.client; | |
import com.akjava.gwt.lib.client.LogUtils; | |
import com.google.gwt.core.client.EntryPoint; | |
import com.google.gwt.core.shared.GWT; | |
import com.google.gwt.dom.client.DataTransfer; | |
import com.google.gwt.event.dom.client.ClickEvent; | |
import com.google.gwt.event.dom.client.ClickHandler; | |
import com.google.gwt.event.logical.shared.ValueChangeEvent; | |
import com.google.gwt.event.logical.shared.ValueChangeHandler; |
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"?> | |
<!-- | |
When updating your version of GWT, you should also update this DTD reference, | |
so that your app can take advantage of the latest GWT module capabilities. | |
--> | |
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.5.1//EN" | |
"http://google-web-toolkit.googlecode.com/svn/tags/2.5.1/distro-source/core/src/gwt-module.dtd"> | |
<module rename-to='gwtwebworkerssample'> | |
<!-- Inherit the core Web Toolkit stuff. --> | |
<inherits name='com.google.gwt.user.User'/> |
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
function tileMapToCubeTextureImages(image){//image must be loaded | |
var positions=[ | |
[2,1],//right | |
[0,1],//left | |
[1,0],//up | |
[1,2],//down | |
[1,1],//front | |
[3,1],//back | |
] | |
var images=[]; |