eugeneloza / decoherence

Project moved to https://gitlab.com/EugeneLoza/decoherence
GNU General Public License v3.0
10 stars 7 forks source link

Right click behavior #491

Closed ResonantExplosion closed 6 years ago

ResonantExplosion commented 6 years ago
Interface IHint
Procedure showhint;
End;

Will be different for items, perks, etc. R-click on portraits will enter inventory / party menu, not show hint. Maybe not show hint, but onRightClick? As s procedure pointers

eugeneloza commented 6 years ago

I don't like Right-click term, as it's also a Long-click. I wonder, if there is any standard term for that stuff, like PrimaryClick (action) and SecondaryClick (info, auxiliary)

eugeneloza commented 6 years ago

onRightClick may be easily defined as "show hint" and overriden in complex situations. Usually it's only 2 versions of these: "plain text in a frame", and "image + plain text in a frame" (maybe, leave only this option? some items would just have a "Generic" item image (kinda game logo)).