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

17
LINES

< > BotCompany Repo | #1020770 // Module Reload Animation

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

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

!7

cmodule ModuleReloadAnimation > DynPrintLogAndEnabled {
  S imageID = #1101471, text = "Reloading...";
  
  start {
    dm_setOSOpt(makeReloadingComponent := func(O module) -> Component {
      enabled
        ? jAnimation(imageID, text)
        : (Component) dm_callOS('makeStandardReloadingComponent, module)
    });
  }
  
  void cleanMeUp {
    dm_setOSOpt(makeReloadingComponent := null);
  }
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1020770
Snippet name: Module Reload Animation
Eternal ID of this version: #1020770/6
Text MD5: 592455c8f02349c5bd97e2b72133199f
Transpilation MD5: 2c2ad82ad99997db023d22c02648ef68
Author: stefan
Category: javax / stefan's os
Type: JavaX source code (Dynamic Module)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-07-08 22:10:47
Source code size: 419 bytes / 17 lines
Pitched / IR pitched: No / No
Views / Downloads: 258 / 5423
Version history: 5 change(s)
Referenced in: [show references]