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

13
LINES

< > BotCompany Repo | #1029159 - Move Info Boxes To First Screen [e.g. for streaming]

JavaX source code (Dynamic Module) [tags: use-pretranspiled] - run with: Stefan's OS

Uses 911K of libraries. Click here for Pure Java version (4865L/24K).

!7

cmodule MoveInfoBoxes > DynPrintLogAndEnabled {
  switchable int firstScreenWidth = 1920;
  
  start {
    dm_vmBus_onMessage shouldShowInfoBox(voidfunc(JWindow w, S text) {
      please include function moveToTopRightCorner.
      int inset = moveToTopRightCorner_inset;
      setLocation(w, firstScreenWidth-w.getWidth()-inset, inset);
    });
  }
}

download  show line numbers  debug dex   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, xrpafgyirdlv

No comments. add comment

Snippet ID: #1029159
Snippet name: Move Info Boxes To First Screen [e.g. for streaming]
Eternal ID of this version: #1029159/3
Text MD5: c1722394ed21eb65afcdc67c16f5ea7a
Transpilation MD5: 8b3646cc71136dcbbec5c6d823e024d8
Author: stefan
Category: javax / gui
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-22 13:32:11
Source code size: 367 bytes / 13 lines
Pitched / IR pitched: No / No
Views / Downloads: 46 / 2695
Version history: 2 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1029159 & http://1029159.tinybrain.de