From: Mircea Kitsune Date: Tue, 25 Oct 2011 22:12:15 +0000 (+0300) Subject: Divide menu into two sections; Visual object properties, and Physical object properties X-Git-Tag: xonotic-v0.6.0~35^2~18^2~159 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e1b7fd737353be66146d401573dfdb5aa1b6193b;p=xonotic%2Fxonotic-data.pk3dir.git Divide menu into two sections; Visual object properties, and Physical object properties --- diff --git a/qcsrc/menu/xonotic/dialog_sandboxtools.c b/qcsrc/menu/xonotic/dialog_sandboxtools.c index 5dd21ac4b..768262ecf 100644 --- a/qcsrc/menu/xonotic/dialog_sandboxtools.c +++ b/qcsrc/menu/xonotic/dialog_sandboxtools.c @@ -27,11 +27,16 @@ void XonoticSandboxToolsDialog_fill(entity me) me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Copy"), '0 0 0', "sandbox duplicate_object_copy", 0)); me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Paste"), '0 0 0', "sandbox duplicate_object_paste", 0)); me.TR(me); + me.TR(me); + me.TD(me, 1, 2, e = makeXonoticTextLabel(0, _("Visual object properties:"))); me.TR(me); me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Set skin:"), '0 0 0', "sandbox edit_object skin $menu_sandbox_edit_skin", 0)); me.TD(me, 1, 1.5, e = makeXonoticSlider(0, 99, 1, "menu_sandbox_edit_skin")); me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Set frame:"), '0 0 0', "sandbox edit_object frame $menu_sandbox_edit_frame", 0)); me.TD(me, 1, 1.5, e = makeXonoticSlider(0, 99, 1, "menu_sandbox_edit_frame")); + me.TR(me); + me.TR(me); + me.TD(me, 1, 2, e = makeXonoticTextLabel(0, _("Physical object properties:"))); me.TR(me); me.TD(me, 1, 0.5, makeXonoticCommandButton(_("Set scale:"), '0 0 0', "sandbox edit_object scale $menu_sandbox_edit_scale", 0)); me.TD(me, 1, 1.5, e = makeXonoticSlider(0.5, 2, 0.05, "menu_sandbox_edit_scale"));