static void dm_setBounds(O module, int x, int y, int w, int h) { O stem = dm_getStem(module); if (stem == null) ret; Component vis = cast call(stem, 'vis); JInternalFrame f = getInternalFrame(vis); if (f != null) setBounds(f, x, y, w, h); else set(stem, frameRect := quickExport(Rect(x, y, w, h), stem); // TODO: should flush } static void dm_setBounds(int x, int y, int w, int h) { dm_setBounds(dm_current_generic(), x, y, w, h); } static void dm_setBounds(O module, Rect r) { if (r != null) dm_setBounds(module, r.x, r.y, r.w, r.h); }
Began life as a copy of #1016705
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1016706 |
Snippet name: | dm_setBounds |
Eternal ID of this version: | #1016706/7 |
Text MD5: | 54fff14b7f24fbdd174349ae3d29ad97 |
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-12 22:57:54 |
Source code size: | 579 bytes / 18 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 470 / 516 |
Version history: | 6 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1021077 - dm_setModuleWidth |