Added rename/delete popups to the file and imageselect windows.

Redesigned the userpreference window layout. (not finished yet)

Enhanced the texteditor with; a rightmousemenu, clipboard text
support (for windows !) and the alt-m keystroke generates a 3d
text object. (up to 1000 characters)

(1, 2, 3, 4 and 7 from http://www.tncci.com/blender/feats.html)
This commit is contained in:
2003-04-28 11:17:21 +00:00
parent 71ffa47752
commit 52f6a630ce
16 changed files with 1128 additions and 135 deletions

View File

@@ -765,6 +765,19 @@ void drawname(Object *ob)
BMF_DrawString(G.font, ob->id.name+2);
}
static void draw_selected_name(char *name)
{
char info[128];
sprintf(info, "(%d) %s", CFRA, name);
cpack(0xFFFFFF);
glRasterPos2i(30, 10);
BMF_DrawString(G.fonts, info);
}
static void draw_view_icon(void)
{
BIFIconID icon;
@@ -975,6 +988,9 @@ void drawview3dspace(ScrArea *sa, void *spacedata)
if(G.vd->persp>1) drawviewborder();
drawcursor();
draw_view_icon();
ob= OBACT;
if(ob!=0 && (U.uiflag & DRAWVIEWINFO)) draw_selected_name(ob->id.name+2);
persp(1);