window sizeを2倍に変更#19
Open
hirarira wants to merge 11 commits into
Open
Conversation
Author
|
解像度が低い端末向けに、デフォルトでは従来どおりとし、 微妙にサイズ噛み合ってないので要修正 |
Member
|
📝 懸念点
|
Author
出来ましたね |
Member
む、自分だと1画面のウインドウサイズで行ったところ、2画面分でペーストされてしまいました。 |
Author
|
1画面の時は1画面だけのほうが良いっすよね・・・ |
Author
|
物体パーツウィンドウなど、各種ウィンドウを拡大縮小したときに付いてくるように修正します |
Author
|
↑対応しました。 |
aokashi
reviewed
May 2, 2019
| int setScreenChipSize = g_hugeMapSize ? DEFALUT_SCREEN_CHIP_SIZE : SCREEN_CHIP_SIZE; | ||
| setScreenChipSize++; | ||
| g_hugeMapSize = !g_hugeMapSize; | ||
| SizeX = (setScreenChipSize * CHIP_SIZE); |
Member
There was a problem hiding this comment.
サイズ変更したところ、横幅と縦幅に若干余白が発生していました。
この場合は GetWindowRect と GetClientRect の差分を差し引いてサイズを計算するとぴったり調整できるかもしれません。
(WinMain関数の処理を見ると多分分かるかもしれないです)
| // �ݒ�t�@�C���ǂݍ��� | ||
| PositionX = GetPrivateProfileInt("Main", "PositionX", CW_USEDEFAULT, g_szSettingFile); | ||
| PositionY = GetPrivateProfileInt("Main", "PositionY", 0, g_szSettingFile); | ||
| int window_size = SCREEN_CHIP_SIZE * CHIP_SIZE; |
| MoveWindow(g_hDlgQuickView, rectBox.left, rectBox.bottom, rect.right - rect.left, rect.bottom - rect.top, TRUE); | ||
| ShowWindow(g_hDlgQuickView, SW_SHOW); | ||
| // ���́E�w�i�I���p�[�c�E�B���h�E�ʒu�̃��Z�b�g | ||
| resetSelectMapAndObjectPosition(); |
Author
|
2点修正しましたー |
Member
ff231a1 to
29b20a7
Compare
Author
|
拡小時に端までスクロールできない問題
Author
|
細かい点だとスクロール位置も合っていない |
Author
|
スクロールは対応したので、残りはスクロール位置の対応のみ |
Member
|
ミニマップ機能の実装 (#18) については、パーツの矩形配置後ラグが生じており、常用するにはまだ難しい状態なので、ミニマップよりも先にこのブランチを適用するかもしれないです。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

window sizeが440*460とマジックナンバーになっていたのを、定数に置き換えました。
SCREEN_CHIP_SIZEを21にして、横マスに21オブジェクトを表示し、840px * 860px 出力にしました。