dannyedel / dspdfviewer

Dual-Screen PDF Viewer for latex-beamer
http://dspdfviewer.danny-edel.de
GNU General Public License v2.0
219 stars 29 forks source link

Configurable bottom pane height #8

Closed mmonaco closed 9 years ago

mmonaco commented 10 years ago

The previews of the previous and upcoming slides are nice, but almost too small to be useful. A config option to set the height, or maybe percentage of vertical space would be great.

It might also be worth considering whether the current slide needs to be listed in the prerender pane.

dannyedel commented 10 years ago

I think if we're going "dynamic", as in "anything except compile-time pixel constant", we might as well go all the way and go for command-line parameter. Maybe in the process I'll add support for a configuration file because it may be annoying to put these things on the command line on every launch.

I think I'll keep the current slide in or make it a runtime-option, but having #11 in mind I'll not factor it out just yet.

mmonaco commented 10 years ago

A command line option is what I was going for. If you want to get even fancier you could have "Ctrl-R" trigger resize mode and Up/Down resizes at runtime.

A config file in the style of OpenVPN or dnsmasq would be nice, they're just fancier ways to specify the long options that are taken on the command line. But really, if you want to do any options parsing work, having to specify true/false for the boolean options is annoying. -t -w -p and -s should just mean the opposite of the default.

You could have e.g.,

-w --no-wall-clock
-W --wall-clock
  Hide or show the wall clock (default, show the wall clock).

-p --no-presentation-clock [<time>]
-P --presentation-clock [<time>]
  Hide or show the presentation clock (default, show the presentation clock). If a time is given, the clock counts down from the specified <time> rather than up.
zakkak commented 9 years ago

I agree with the comment about the command line options, it will be more intuitive that way.

dannyedel commented 9 years ago

Just sorting this a little bit: I'm reducing this ticket to what the header says, making the preview-images' height variable.

I'm moving the other things to their own (smaller) tickets to easier track them.

dannyedel commented 9 years ago

This feature was added a month ago in pull request #39, closing this ticket.