Merge pull request #1417 from Abextm/fix-widget-mask-get
Rename setClickMask()I > getClickMask()I
This commit is contained in:
@@ -40,7 +40,7 @@ public interface Widget
|
|||||||
|
|
||||||
void setContentType(int contentType);
|
void setContentType(int contentType);
|
||||||
|
|
||||||
int setClickMask();
|
int getClickMask();
|
||||||
|
|
||||||
void setClickMask(int mask);
|
void setClickMask(int mask);
|
||||||
|
|
||||||
|
|||||||
@@ -386,7 +386,7 @@ public class ReorderPrayersPlugin extends Plugin
|
|||||||
Prayer prayer = prayerOrder[index];
|
Prayer prayer = prayerOrder[index];
|
||||||
Widget prayerWidget = prayerWidgets.get(prayer.ordinal());
|
Widget prayerWidget = prayerWidgets.get(prayer.ordinal());
|
||||||
|
|
||||||
int widgetConfig = prayerWidget.setClickMask();
|
int widgetConfig = prayerWidget.getClickMask();
|
||||||
if (config.unlockPrayerReordering())
|
if (config.unlockPrayerReordering())
|
||||||
{
|
{
|
||||||
// allow dragging of this widget
|
// allow dragging of this widget
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ public interface RSWidget extends Widget
|
|||||||
int getRSParentId();
|
int getRSParentId();
|
||||||
|
|
||||||
@Import("clickMask")
|
@Import("clickMask")
|
||||||
int setClickMask();
|
int getClickMask();
|
||||||
|
|
||||||
@Import("clickMask")
|
@Import("clickMask")
|
||||||
void setClickMask(int mask);
|
void setClickMask(int mask);
|
||||||
|
|||||||
Reference in New Issue
Block a user