SHARE
TWEET

Untitled

a guest Apr 4th, 2018 70 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. try {
  2.             Pixmap screen = base.codeScreenUtils.createCodeScreen();
  3.             PixmapIO.writePNG(Gdx.files.local("share_images/grimdefender.png"), screen);
  4.             screen.dispose();
  5.  
  6.             Clipboard cb = Gdx.app.getClipboard();
  7.             if (cb != null) {
  8.                 cb.setContents(sharetext);
  9.             }
  10.         } catch (Exception e) {
  11.             base.bccon.submitLog("error creating share png: " + e.toString());
  12.             return;
  13.         }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top