Browse Source

text is now automatically centered in other dimension if x or y command is used.

feature/2015
tixiv 15 years ago
parent
commit
521b73e6ae
  1. 4
      scrolltext/scrolltext3.c

4
scrolltext/scrolltext3.c

@ -354,6 +354,10 @@ blob_t * setupBlob(char * str){
}else if(*blob->commands == 'u'){ }else if(*blob->commands == 'u'){
blob->posy = blob->sizey; blob->posy = blob->sizey;
blob->posx = (NUM_COLS - 2 + blob->sizex)/2; blob->posx = (NUM_COLS - 2 + blob->sizex)/2;
}else if(*blob->commands == 'x'){
blob->posy = (NUM_ROWS-blob->sizey)/2;
}else if(*blob->commands == 'y'){
blob->posx = (NUM_COLS - 2 + blob->sizex)/2;
} }
blob->delayx_rld = 0; blob->delayx_rld = 0;

Loading…
Cancel
Save