- Bug fix: at osx, default AA font couldnt be written in .b.blend

(unless you manually install font)
- Bug fix: string for AA font was only 64 chars... made 256.

- Changed API for buttons aligning... it now detects automatic what rows
  are, or collums, and aligns buttons. This makes call easier:
  uiBlockBeginAlign(block);
  ... defBut....
  uiBlockEndAlign(block);
  Only works when you provide buttons in row order!
- made sure only 'rounded' theme uses this align stuff
- still work in progress.. I commit now because I leave to denmark for 2 days!

http://www.blender.org/bf/rt.jpg  <- now also groups with rows+collums
This commit is contained in:
2003-11-14 15:49:26 +00:00
parent 4d1b1545f2
commit d8f8605098
9 changed files with 287 additions and 144 deletions

View File

@@ -222,7 +222,9 @@ void start_interface_font(void) {
strcat(tstr, ".bfont.ttf");
result = FTF_SetFont(tstr, U.fontsize);
sprintf(U.fontname, ".blender/.bfont.ttf");
//sprintf(U.fontname, ".blender/.bfont.ttf");
strncpy(U.fontname, tstr, 255);
#elif defined (WIN32)
BLI_getInstallationDir(tstr);
strcat(tstr, "/.blender/.bfont.ttf\0");