Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve notification placement #55

Open
wants to merge 7 commits into
base: develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions source/SylphyHorn.Core/Serialization/GeneralSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ public GeneralSettings(ISerializationProvider provider)

public SerializableProperty<uint> Placement => this.Cache(key => new SerializableProperty<uint>(key, this._provider, 5 /* Center */));

public SerializableProperty<byte> PinPlacement => this.Cache(key => new SerializableProperty<byte>(key, this._provider, 0 /* Default */));

public SerializableProperty<uint> Display => this.Cache(key => new SerializableProperty<uint>(key, this._provider, 0));

public SerializableProperty<bool> TrayShowDesktop => this.Cache(key => new SerializableProperty<bool>(key, this._provider, false));
Expand Down
69 changes: 48 additions & 21 deletions source/SylphyHorn/Properties/Resources.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 27 additions & 18 deletions source/SylphyHorn/Properties/Resources.ja.resx
Original file line number Diff line number Diff line change
Expand Up @@ -222,38 +222,47 @@
<data name="Settings_Notification" xml:space="preserve">
<value>通知</value>
</data>
<data name="Settings_NotificationWindowPlacement" xml:space="preserve">
<value>通知ウィンドウの配置</value>
<data name="Settings_Notification_Display" xml:space="preserve">
<value>仮想デスクトップ切り替え時に通知を表示する</value>
</data>
<data name="Settings_Notification_Display_Duration" xml:space="preserve">
<value>通知メッセージを表示する時間:</value>
</data>
<data name="Settings_NotificationWindowPlacement_BottomCenter" xml:space="preserve">
<data name="Settings_Notification_Display_Duration_Milliseconds" xml:space="preserve">
<value>ミリ秒</value>
</data>
<data name="Settings_Notification_WindowPlacement_BottomCenter" xml:space="preserve">
<value>中央 下部</value>
</data>
<data name="Settings_NotificationWindowPlacement_BottomLeft" xml:space="preserve">
<data name="Settings_Notification_WindowPlacement_BottomLeft" xml:space="preserve">
<value>左下</value>
</data>
<data name="Settings_NotificationWindowPlacement_BottomRight" xml:space="preserve">
<data name="Settings_Notification_WindowPlacement_BottomRight" xml:space="preserve">
<value>右下</value>
</data>
<data name="Settings_NotificationWindowPlacement_Center" xml:space="preserve">
<data name="Settings_Notification_WindowPlacement_Center" xml:space="preserve">
<value>中央</value>
</data>
<data name="Settings_NotificationWindowPlacement_TopCenter" xml:space="preserve">
<value>中央 上部</value>
<data name="Settings_Notification_WindowPlacement_PinWindow" xml:space="preserve">
<value>ピン留めウィンドウの配置</value>
</data>
<data name="Settings_NotificationWindowPlacement_TopLeft" xml:space="preserve">
<value>左上</value>
<data name="Settings_Notification_WindowPlacement_PinWindow_Outside" xml:space="preserve">
<value>ウィンドウの外周に表示する</value>
</data>
<data name="Settings_NotificationWindowPlacement_TopRight" xml:space="preserve">
<value>右上</value>
<data name="Settings_Notification_WindowPlacement_SameAsSwitchWindow" xml:space="preserve">
<value>切り替えウィンドウと同じ配置</value>
</data>
<data name="Settings_Notification_Display" xml:space="preserve">
<value>仮想デスクトップ切り替え時に通知を表示する</value>
<data name="Settings_Notification_WindowPlacement_SwitchWindow" xml:space="preserve">
<value>切り替えウィンドウの配置</value>
</data>
<data name="Settings_Notification_Display_Duration" xml:space="preserve">
<value>通知メッセージを表示する時間:</value>
<data name="Settings_Notification_WindowPlacement_TopCenter" xml:space="preserve">
<value>中央 上部</value>
</data>
<data name="Settings_Notification_Display_Duration_Milliseconds" xml:space="preserve">
<value>ミリ秒</value>
<data name="Settings_Notification_WindowPlacement_TopLeft" xml:space="preserve">
<value>左上</value>
</data>
<data name="Settings_Notification_WindowPlacement_TopRight" xml:space="preserve">
<value>右上</value>
</data>
<data name="Settings_Pin" xml:space="preserve">
<value>ピン留め:</value>
Expand Down
45 changes: 27 additions & 18 deletions source/SylphyHorn/Properties/Resources.resx
Original file line number Diff line number Diff line change
Expand Up @@ -222,38 +222,47 @@
<data name="Settings_Notification" xml:space="preserve">
<value>Notification</value>
</data>
<data name="Settings_NotificationWindowPlacement" xml:space="preserve">
<value>Notification window placement</value>
<data name="Settings_Notification_Display" xml:space="preserve">
<value>Display a notification when switched virtual desktop</value>
</data>
<data name="Settings_Notification_Display_Duration" xml:space="preserve">
<value>Time Duration for Notification Messages:</value>
</data>
<data name="Settings_NotificationWindowPlacement_BottomCenter" xml:space="preserve">
<data name="Settings_Notification_Display_Duration_Milliseconds" xml:space="preserve">
<value>ms</value>
</data>
<data name="Settings_Notification_WindowPlacement_BottomCenter" xml:space="preserve">
<value>Bottom center</value>
</data>
<data name="Settings_NotificationWindowPlacement_BottomLeft" xml:space="preserve">
<data name="Settings_Notification_WindowPlacement_BottomLeft" xml:space="preserve">
<value>Bottom left</value>
</data>
<data name="Settings_NotificationWindowPlacement_BottomRight" xml:space="preserve">
<data name="Settings_Notification_WindowPlacement_BottomRight" xml:space="preserve">
<value>Bottom right</value>
</data>
<data name="Settings_NotificationWindowPlacement_Center" xml:space="preserve">
<data name="Settings_Notification_WindowPlacement_Center" xml:space="preserve">
<value>Center</value>
</data>
<data name="Settings_NotificationWindowPlacement_TopCenter" xml:space="preserve">
<value>Top center</value>
<data name="Settings_Notification_WindowPlacement_PinWindow" xml:space="preserve">
<value>Pin window placement</value>
</data>
<data name="Settings_NotificationWindowPlacement_TopLeft" xml:space="preserve">
<value>Top left</value>
<data name="Settings_Notification_WindowPlacement_PinWindow_Outside" xml:space="preserve">
<value>Show on the outside of the window.</value>
</data>
<data name="Settings_NotificationWindowPlacement_TopRight" xml:space="preserve">
<value>Top right</value>
<data name="Settings_Notification_WindowPlacement_SameAsSwitchWindow" xml:space="preserve">
<value>Same as switch window placement</value>
</data>
<data name="Settings_Notification_Display" xml:space="preserve">
<value>Display a notification when switched virtual desktop</value>
<data name="Settings_Notification_WindowPlacement_SwitchWindow" xml:space="preserve">
<value>Switch window placement</value>
</data>
<data name="Settings_Notification_Display_Duration" xml:space="preserve">
<value>Time Duration for Notification Messages:</value>
<data name="Settings_Notification_WindowPlacement_TopCenter" xml:space="preserve">
<value>Top center</value>
</data>
<data name="Settings_Notification_Display_Duration_Milliseconds" xml:space="preserve">
<value>ms</value>
<data name="Settings_Notification_WindowPlacement_TopLeft" xml:space="preserve">
<value>Top left</value>
</data>
<data name="Settings_Notification_WindowPlacement_TopRight" xml:space="preserve">
<value>Top right</value>
</data>
<data name="Settings_Pin" xml:space="preserve">
<value>Pin window:</value>
Expand Down
Loading