Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWillian Padovani Germano <wpgermano@gmail.com>2003-10-12 00:56:26 +0400
committerWillian Padovani Germano <wpgermano@gmail.com>2003-10-12 00:56:26 +0400
commite32a73f69ec42df290ea0d6fa71c2cd675044dd8 (patch)
treeb37a9daba5b0f375d0e6a6efd474fd8a4eef4418 /source/blender/src/header_oops.c
parent95ce9b93bee846034e58710ab05c9adc685cf5b8 (diff)
Fixing header*** files to use tabs instead of spaces (was my fault, sorry).
Diffstat (limited to 'source/blender/src/header_oops.c')
-rw-r--r--source/blender/src/header_oops.c54
1 files changed, 27 insertions, 27 deletions
diff --git a/source/blender/src/header_oops.c b/source/blender/src/header_oops.c
index c4b6ce9a0a7..79f2e238c87 100644
--- a/source/blender/src/header_oops.c
+++ b/source/blender/src/header_oops.c
@@ -23,7 +23,7 @@
*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software Foundation,
- * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ * Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
*
* The Original Code is Copyright (C) 2001-2002 by NaN Holding BV.
* All rights reserved.
@@ -74,31 +74,31 @@ static int viewmovetemp = 0;
void do_oops_buttons(short event)
{
- float dx, dy;
-
- if(curarea->win==0) return;
-
- switch(event) {
- case B_OOPSHOME:
- boundbox_oops();
- G.v2d->cur= G.v2d->tot;
- dx= 0.15*(G.v2d->cur.xmax-G.v2d->cur.xmin);
- dy= 0.15*(G.v2d->cur.ymax-G.v2d->cur.ymin);
- G.v2d->cur.xmin-= dx;
- G.v2d->cur.xmax+= dx;
- G.v2d->cur.ymin-= dy;
- G.v2d->cur.ymax+= dy;
- test_view2d(G.v2d, curarea->winx, curarea->winy);
- scrarea_queue_winredraw(curarea);
- break;
-
- case B_NEWOOPS:
- scrarea_queue_winredraw(curarea);
- scrarea_queue_headredraw(curarea);
- G.soops->lockpoin= 0;
- break;
- }
-
+ float dx, dy;
+
+ if(curarea->win==0) return;
+
+ switch(event) {
+ case B_OOPSHOME:
+ boundbox_oops();
+ G.v2d->cur= G.v2d->tot;
+ dx= 0.15*(G.v2d->cur.xmax-G.v2d->cur.xmin);
+ dy= 0.15*(G.v2d->cur.ymax-G.v2d->cur.ymin);
+ G.v2d->cur.xmin-= dx;
+ G.v2d->cur.xmax+= dx;
+ G.v2d->cur.ymin-= dy;
+ G.v2d->cur.ymax+= dy;
+ test_view2d(G.v2d, curarea->winx, curarea->winy);
+ scrarea_queue_winredraw(curarea);
+ break;
+
+ case B_NEWOOPS:
+ scrarea_queue_winredraw(curarea);
+ scrarea_queue_headredraw(curarea);
+ G.soops->lockpoin= 0;
+ break;
+ }
+
}
void oops_buttons(void)
@@ -156,7 +156,7 @@ void oops_buttons(void)
else strcpy(naam, oops->id->name);
cpack(0x0);
- glRasterPos2i(xco+=XIC+10, 5);
+ glRasterPos2i(xco+=XIC+10, 5);
BMF_DrawString(uiBlockGetCurFont(block), naam);
}