- fixed colors of ipokeys in 3d window

- fixed constraint popup menu (used icons)
- moved 'full' and 'View3d props' and 'background' items in menu to bottom
  Hope Matt wont kill me for it, but these were about the only useful
  ones there... :)
- little fix in interface.c for menus...
This commit is contained in:
2003-10-25 22:29:24 +00:00
parent 36668278ac
commit bbd9018ec5
5 changed files with 79 additions and 21 deletions

View File

@@ -301,6 +301,7 @@ void uiTextBoundsBlock(uiBlock *block, int addval)
bt= block->buttons.first;
while(bt) {
bt->x2 = i + addval;
ui_check_but(bt); // clips text again
bt= bt->next;
}
}
@@ -2637,7 +2638,7 @@ static int ui_do_block(uiBlock *block, uiEvent *uevent)
else if(but->type==BLOCK || but->type==MENU) { // automatic opens block button (pulldown)
int time;
if(uevent->event!=LEFTMOUSE ) {
if(block->auto_open==2) time= 2; // test for toolbox
if(block->auto_open==2) time= 1; // test for toolbox
else if(block->auto_open) time= 5*U.menuthreshold2;
else if(U.uiflag & MENUOPENAUTO) time= 5*U.menuthreshold1;
else time= -1;