Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1021079 // dm_defaultBoundsFor [rough]

JavaX fragment (include)

static Rect dm_defaultBoundsFor(O module) {
  Rect r = Rect(0, 0, 400, 400);
  ret centerRect(r, dm_desktopBounds());
}

Author comment

Began life as a copy of #1021077

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1021079
Snippet name: dm_defaultBoundsFor [rough]
Eternal ID of this version: #1021079/1
Text MD5: 3e1fef41c6534fa0d89dbe64dfe03475
Author: stefan
Category: javax / dynamic modules
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-22 13:41:52
Source code size: 122 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 254 / 277
Referenced in: [show references]