Add progress bar
This commit is contained in:
		
							parent
							
								
									d964adba95
								
							
						
					
					
						commit
						3b0e9ae607
					
				
							
								
								
									
										7
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										7
									
								
								Makefile
									
									
									
									
									
								
							@ -14,14 +14,11 @@ options:
 | 
			
		||||
	@echo "LDFLAGS  = ${LDFLAGS}"
 | 
			
		||||
	@echo "CC       = ${CC}"
 | 
			
		||||
 | 
			
		||||
config.h:
 | 
			
		||||
	cp config.def.h config.h
 | 
			
		||||
 | 
			
		||||
.c.o:
 | 
			
		||||
	@echo CC $<
 | 
			
		||||
	@${CC} -c ${CFLAGS} $<
 | 
			
		||||
 | 
			
		||||
${OBJ}: config.h config.mk
 | 
			
		||||
${OBJ}: config.mk
 | 
			
		||||
 | 
			
		||||
sent: ${OBJ}
 | 
			
		||||
	@echo CC -o $@
 | 
			
		||||
@ -38,7 +35,7 @@ clean:
 | 
			
		||||
dist: clean
 | 
			
		||||
	@echo creating dist tarball
 | 
			
		||||
	@mkdir -p sent-${VERSION}
 | 
			
		||||
	@cp -R LICENSE Makefile config.mk config.def.h ${SRC} sent-${VERSION}
 | 
			
		||||
	@cp -R LICENSE Makefile config.mk config.h ${SRC} sent-${VERSION}
 | 
			
		||||
	@tar -cf sent-${VERSION}.tar sent-${VERSION}
 | 
			
		||||
	@gzip sent-${VERSION}.tar
 | 
			
		||||
	@rm -rf sent-${VERSION}
 | 
			
		||||
 | 
			
		||||
@ -1,9 +1,8 @@
 | 
			
		||||
/* See LICENSE file for copyright and license details. */
 | 
			
		||||
 | 
			
		||||
static char *fontfallbacks[] = {
 | 
			
		||||
	"dejavu sans",
 | 
			
		||||
	"roboto",
 | 
			
		||||
	"ubuntu",
 | 
			
		||||
  "mono",
 | 
			
		||||
  "JoyPixels",
 | 
			
		||||
};
 | 
			
		||||
#define NUMFONTSCALES 42
 | 
			
		||||
#define FONTSZ(x) ((int)(10.0 * powf(1.1288, (x)))) /* x in [0, NUMFONTSCALES-1] */
 | 
			
		||||
@ -19,6 +18,9 @@ static const float linespacing = 1.4;
 | 
			
		||||
static const float usablewidth = 0.75;
 | 
			
		||||
static const float usableheight = 0.75;
 | 
			
		||||
 | 
			
		||||
/* height of the presentation progress bar */
 | 
			
		||||
static const int progressheight = 5;
 | 
			
		||||
 | 
			
		||||
static Mousekey mshortcuts[] = {
 | 
			
		||||
  /* button         function        argument */
 | 
			
		||||
  { Button1,        advance,        {.i = +1} },
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										1
									
								
								config.h
									
									
									
									
									
								
							
							
						
						
									
										1
									
								
								config.h
									
									
									
									
									
								
							@ -1,3 +1,4 @@
 | 
			
		||||
// -*- mode: c
 | 
			
		||||
/* See LICENSE file for copyright and license details. */
 | 
			
		||||
 | 
			
		||||
static char *fontfallbacks[] = {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user