3 lines
2.7 KiB
HTML
3 lines
2.7 KiB
HTML
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><base href="../../"><link rel="stylesheet" href="dmdoc.css"><title>/datum/element/contextual_screentip_sharpness - /tg/ Station 13</title></head><body><header><a href="index.html">/tg/ Station 13</a> - <a href="index.html#modules">Modules</a> - <a href="index.html#types">Types</a> — <a href="datum/element/contextual_screentip_sharpness.html#var">Var Details</a></header><main><h1>contextual_screentip_sharpness <aside>/<a href="datum.html">datum</a>/<a href="datum/element.html">element</a>/<a href="datum/element/contextual_screentip_sharpness.html">contextual_screentip_sharpness</a></aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/screentips/contextual_screentip_sharpness.dm#L4"><img src="git.png" width="16" height="16" title="code/datums/elements/screentips/contextual_screentip_sharpness.dm 4"></a></h1><p>Apply basic contextual screentips when the user hovers over this item with an item of the given tool behavior.
|
||
A "Type B" interaction.
|
||
This stacks with other contextual screentip elements, though you may want to register the signal/flag manually at that point for performance.</p><table class="summary" cellspacing="0"><tr><td colspan="2"><h2>Vars</h2></td></tr><tr><th><a href="datum/element/contextual_screentip_sharpness.html#var/lmb_text">lmb_text</a></th><td>If set, the text to show for LMB</td></tr><tr><th><a href="datum/element/contextual_screentip_sharpness.html#var/rmb_text">rmb_text</a></th><td>If set, the text to show for RMB</td></tr></table><h2 id="var">Var Details</h2><h3 id="var/lmb_text"><aside class="declaration">var </aside>lmb_text <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/screentips/contextual_screentip_sharpness.dm#L9"><img src="git.png" width="16" height="16" title="code/datums/elements/screentips/contextual_screentip_sharpness.dm 9"></a></h3><p>If set, the text to show for LMB</p><h3 id="var/rmb_text"><aside class="declaration">var </aside>rmb_text <aside>– /list</aside> <a href="https://github.com/evilew/GS13-Citadel/blob/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e/code/datums/elements/screentips/contextual_screentip_sharpness.dm#L14"><img src="git.png" width="16" height="16" title="code/datums/elements/screentips/contextual_screentip_sharpness.dm 14"></a></h3><p>If set, the text to show for RMB</p></main><footer>tgstation.dme <a href="https://github.com/evilew/GS13-Citadel/tree/e8e0068531dd988f9e65b33ae7866d4fbf1fdd9e">e8e0068</a> (master) — <a href="https://github.com/SpaceManiac/SpacemanDMM/blob/master/crates/dmdoc/README.md">dmdoc 1.9.0</a></footer></body></html> |