baker icon indicating copy to clipboard operation
baker copied to clipboard

Numbering in Screenshots - can they be set to start anywhere?

Open tstegart opened this issue 14 years ago • 12 comments

I just noticed the numbers that baker displays in the loading screenshots start from one. Can I custom number them somehow? For instance, have no number on the first three pages and then have numbers on the next 6 (starting at 1) and then no numbers on the last three pages.

This isn't a feature request, just wondering if it can be done, otherwise I will take out the numbers.

tstegart avatar Mar 23 '12 03:03 tstegart

It's not a feature available out of the box, but I can point out that the code generating it is within the function - (void)initPageDetails and as such you might perform some editing there and achieve your need. :)

Another way would be to pre-generate the screenshots and use these. :)

folletto avatar Mar 23 '12 12:03 folletto

Thanks. Can they be deleted if we don't want them? I can see where to change the color in book.json (which I could just change to match the background color if I want them invisible), but where can I delete them?

tstegart avatar Mar 23 '12 14:03 tstegart

Yes, the way to do that right now is by using the alpha setting. :)

You can play with the code in that same function if you want to do extra things. :)

folletto avatar Mar 23 '12 14:03 folletto

Thanks!

tstegart avatar Mar 23 '12 15:03 tstegart

Sorry to reopen this, but is there a way to not show the page number but still show the page title? When I make the numbers invisible by changing their color to the background color the titles also disappear. I can't find a place to change just the numbers color.

tstegart avatar Mar 29 '12 14:03 tstegart

Not out of the box, you need to do some work in the function I told you about above :)

folletto avatar Mar 29 '12 19:03 folletto

Ok, thanks :)

tstegart avatar Mar 29 '12 20:03 tstegart

@folletto Thanks for the Alpha feature, very handy!

This might sound like a dumb question, but where is the - (void)initPageDetails function at? I was digging around in ui/PageTitleLabel.h and .m and didn't see it. Figure that just loads the title itself but not the page numbers.

Edit: Just discovered I can do a search using cmd+shift+O. Nice little feature.

thejtate avatar Feb 07 '13 16:02 thejtate

Unfortunately this is a old thread and refers to an obsolete version of Baker. I'm sorry.

folletto avatar Feb 07 '13 22:02 folletto

Still pretty new to Obj-C, but where is the new location the page numbers are printed out?

thejtate avatar Feb 07 '13 22:02 thejtate

Most of that is done in the buildPageDetails function, inside BakerViewController.m.

Simbul avatar Feb 07 '13 23:02 Simbul

@Simbul Thanks for the heads up. Seriously appreciate all the work you guys have done with Baker.

thejtate avatar Feb 14 '13 20:02 thejtate