sakya / corechess

CoreChess is an open source chess GUI for chess engines
GNU General Public License v3.0
24 stars 2 forks source link

Zen mode #33

Closed ghost closed 2 years ago

ghost commented 2 years ago

I couldn't wait actually, because I like Zen Mode. So, I implemented it myself. I hope you like it.

It's nothing important or big, but I like having the option.

ghost commented 2 years ago

If you merge any of my pull requests, you don't have to mention my name.

ghost commented 2 years ago

Sorry, I made a huge mistake, now it should be fine.

ghost commented 2 years ago

I tried to make the shortcut for comment window Key.C with no modifiers, but no matter what I did, the c was inserted into the comment. I tried to use "e.Handled = true" in every possible way :D

At last I gave up and used a modifier instead.

ghost commented 2 years ago

I think finally this feature is complete.

ghost commented 2 years ago

I had to remove "Pause" text from the Pause Button, sorry about that. Otherwise, it'd look terrible with Zen Mode button. Also now there's an Annotation button that is visible when a game is loaded from the disk. It opens the comment window and also indicates that a move has a comment, which is kind of necessary in Zen Mode.

sakya commented 2 years ago

Many thanks for your help, I'm very busy at work these days so I cannot find the time to review your pull request, but zen mode seems a nice feature.

ghost commented 2 years ago

No problem.

ghost commented 2 years ago

I merged my zen mode branch into my main. I'm closing this pull request and creating one from the main branch.