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

3
LINES

< > BotCompany Repo | #1003585 // mouseInComponent - doesn't check for occlusion

JavaX fragment (include)

static bool mouseInComponent(Component c) {
  ret c != null && rectangleContains(boundsOnScreen(c), mousePosition());
}

download  show line numbers  debug dex  old transpilations   

Travelled to 15 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1003585
Snippet name: mouseInComponent - doesn't check for occlusion
Eternal ID of this version: #1003585/5
Text MD5: 4af4a6c193dabd057e6289e054b06da4
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2022-08-06 19:49:59
Source code size: 121 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 624 / 739
Version history: 4 change(s)
Referenced in: [show references]