Uses 911K of libraries. Click here for Pure Java version (7361L/39K).
!7 cmodule HappySadModuleIconTest > DynPrintLogAndEnabled { transient int size = 64; // Java or OS will scale anyway start { doEvery(2.0, r emotion); } void emotion enter { if (!dm_visible()) ret; dm_transientModuleIcon(!enabled ? null : keriyo_resized_cached(printWithDate("Emotion ", tossCoin() ? "07" : "22"), size)); } }
Began life as a copy of #1025393
download show line numbers debug dex old transpilations
Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1025397 |
Snippet name: | Happy / Sad Module [Change Module Icon Transiently, Demo] |
Eternal ID of this version: | #1025397/8 |
Text MD5: | 8da1d2f764b97624c47b07c6edfbc1c4 |
Transpilation MD5: | ec1014c24a462dae3bee1b83425903c4 |
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: | 2019-09-27 18:50:00 |
Source code size: | 373 bytes / 15 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 194 / 1452 |
Version history: | 7 change(s) |
Referenced in: | -