Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Jonathan Wilkes
purr-data
Commits
883ad266
Commit
883ad266
authored
Jan 06, 2016
by
Jonathan Wilkes
Browse files
remove unclick function
parent
56a7f78f
Changes
2
Hide whitespace changes
Inline
Side-by-side
externals/build/include/g_all_guis.h
View file @
883ad266
...
...
@@ -235,7 +235,6 @@ EXTERN t_scalehandle *scalehandle_new(t_object *x, t_glist *glist, int scale, t_
EXTERN
void
scalehandle_free
(
t_scalehandle
*
h
);
EXTERN
void
properties_set_field_int
(
long
props
,
const
char
*
gui_field
,
int
value
);
EXTERN
void
scalehandle_dragon_label
(
t_scalehandle
*
h
,
float
f1
,
float
f2
);
EXTERN
void
scalehandle_unclick_label
(
t_scalehandle
*
h
);
EXTERN
void
scalehandle_click_label
(
t_scalehandle
*
h
);
EXTERN
void
scalehandle_click_scale
(
t_scalehandle
*
h
);
EXTERN
void
scalehandle_unclick_scale
(
t_scalehandle
*
h
);
...
...
pd/src/g_all_guis.c
View file @
883ad266
...
...
@@ -906,7 +906,6 @@ static void scalehandle_clickhook(t_scalehandle *h, t_floatarg f,
h
->
h_offset_x
=
xxx
;
h
->
h_offset_y
=
yyy
;
h
->
h_clickfn
(
h
,
f
);
}
static
void
scalehandle_motionhook
(
t_scalehandle
*
h
,
...
...
@@ -916,7 +915,6 @@ static void scalehandle_motionhook(t_scalehandle *h,
// Now set the offset to the new mouse position
h
->
h_offset_x
=
f1
;
h
->
h_offset_y
=
f2
;
}
void
iemgui__clickhook3
(
t_scalehandle
*
sh
,
int
newstate
)
{
...
...
@@ -932,7 +930,7 @@ void iemgui__clickhook3(t_scalehandle *sh, int newstate) {
// drawn when object is selected on its canvas (instead of GOP)
static
void
scalehandle_check_and_redraw
(
t_iemgui
*
x
)
{
if
(
x
->
x_selected
==
x
->
x_glist
)
if
(
x
->
x_selected
==
x
->
x_glist
)
scalehandle_draw_select2
(
x
);
}
...
...
@@ -941,7 +939,7 @@ static void scalehandle_check_and_redraw(t_iemgui *x)
void
iemgui_tag_selected
(
t_iemgui
*
x
)
{
t_canvas
*
canvas
=
glist_getcanvas
(
x
->
x_glist
);
if
(
x
->
x_selected
)
if
(
x
->
x_selected
)
{
//sys_vgui(".x%lx.c addtag selected withtag x%lx\n", canvas, x);
gui_vmess
(
"gui_gobj_select"
,
"xx"
,
canvas
,
x
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment