Mercurial > hg > Members > riono > TreeVNC_ja_comment
changeset 411:4a925e55afd6
Enable auto Fit Screen
author | innparusu |
---|---|
date | Thu, 19 Nov 2015 15:42:08 +0900 |
parents | da1d6d6b4981 |
children | 372532ae5f4d |
files | .idea/workspace.xml src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java |
diffstat | 4 files changed, 152 insertions(+), 209 deletions(-) [+] |
line wrap: on
line diff
--- a/.idea/workspace.xml Thu Nov 19 15:19:29 2015 +0900 +++ b/.idea/workspace.xml Thu Nov 19 15:42:08 2015 +0900 @@ -2,7 +2,7 @@ <project version="4"> <component name="ChangeListManager"> <list default="true" id="0a04b9e3-21eb-43ee-b441-59e664eecd89" name="Default" comment="settingsChanged"> - <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java" afterPath="$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java" /> + <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java" afterPath="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java" afterPath="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java" afterPath="$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java" /> <change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" /> @@ -43,21 +43,24 @@ <splitter split-orientation="horizontal" split-proportion="0.52454215"> <split-first> <leaf> - <file leaf-file-name="Viewer.java" pinned="false" current-in-tab="false"> + <file leaf-file-name="Viewer.java" pinned="false" current-in-tab="true"> <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.0" vertical-offset="4509" max-vertical-offset="8379"> - <caret line="307" column="5" selection-start-line="307" selection-start-column="5" selection-end-line="307" selection-end-column="5" /> - <folding /> + <state vertical-scroll-proportion="0.88306165" vertical-offset="5234" max-vertical-offset="6645"> + <caret line="501" column="12" selection-start-line="501" selection-start-column="12" selection-end-line="501" selection-end-column="12" /> + <folding> + <element signature="e#9713#9714#0" expanded="true" /> + <element signature="e#9741#9742#0" expanded="true" /> + </folding> </state> </provider> </entry> </file> - <file leaf-file-name="SenderTask.java" pinned="false" current-in-tab="true"> + <file leaf-file-name="SenderTask.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/protocol/SenderTask.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.505618" vertical-offset="0" max-vertical-offset="1424"> - <caret line="76" column="0" selection-start-line="76" selection-start-column="0" selection-end-line="76" selection-end-column="0" /> + <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1035"> + <caret line="64" column="0" selection-start-line="64" selection-start-column="0" selection-end-line="64" selection-end-column="0" /> <folding /> </state> </provider> @@ -95,6 +98,20 @@ </provider> </entry> </file> + <file leaf-file-name="TreeRFBProto.java" pinned="false" current-in-tab="false"> + <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java"> + <provider selected="true" editor-type-id="text-editor"> + <state vertical-scroll-proportion="0.0" vertical-offset="1652" max-vertical-offset="13215"> + <caret line="81" column="29" selection-start-line="81" selection-start-column="29" selection-end-line="81" selection-end-column="29" /> + <folding> + <element signature="imports" expanded="true" /> + <element signature="e#34455#34456#0" expanded="true" /> + <element signature="e#34489#34490#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + </file> <file leaf-file-name="FramebufferUpdateRectangle.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/encoding/decoder/FramebufferUpdateRectangle.java"> <provider selected="true" editor-type-id="text-editor"> @@ -110,22 +127,7 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="3585" max-vertical-offset="4830"> <caret line="257" column="40" selection-start-line="257" selection-start-column="40" selection-end-line="257" selection-end-column="40" /> - <folding> - <element signature="imports" expanded="false" /> - <element signature="e#2256#2283#0" expanded="false" /> - <element signature="e#2346#2364#0" expanded="false" /> - <element signature="e#5490#5491#0" expanded="false" /> - <element signature="e#5515#5516#0" expanded="false" /> - <element signature="e#5587#5588#0" expanded="false" /> - <element signature="e#5637#5638#0" expanded="false" /> - <element signature="e#5705#5706#0" expanded="false" /> - <element signature="e#5753#5754#0" expanded="false" /> - <element signature="e#10490#10508#0" expanded="false" /> - <element signature="e#14383#14384#0" expanded="false" /> - <element signature="e#14433#14434#0" expanded="false" /> - <element signature="e#14671#14672#0" expanded="false" /> - <element signature="e#14715#14716#0" expanded="false" /> - </folding> + <folding /> </state> </provider> </entry> @@ -147,8 +149,8 @@ <file leaf-file-name="SwingNetworkConnectionWorker.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingNetworkConnectionWorker.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.0" vertical-offset="921" max-vertical-offset="2655"> - <caret line="120" column="0" selection-start-line="120" selection-start-column="0" selection-end-line="120" selection-end-column="0" /> + <state vertical-scroll-proportion="0.0" vertical-offset="720" max-vertical-offset="2655"> + <caret line="118" column="34" selection-start-line="118" selection-start-column="34" selection-end-line="118" selection-end-column="34" /> <folding> <element signature="imports" expanded="true" /> </folding> @@ -159,18 +161,19 @@ <file leaf-file-name="SwingViewerWindow.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="-1.075" vertical-offset="14573" max-vertical-offset="16794"> - <caret line="958" column="52" selection-start-line="958" selection-start-column="52" selection-end-line="958" selection-end-column="52" /> - <folding> - <element signature="e#32009#32461#0" expanded="true" /> - <element signature="e#32460#32461#0" expanded="true" /> - <element signature="e#33225#34026#0" expanded="true" /> - <element signature="e#34025#34026#0" expanded="true" /> - <element signature="e#34544#34845#0" expanded="true" /> - <element signature="e#34844#34845#0" expanded="true" /> - <element signature="e#35460#35857#0" expanded="true" /> - <element signature="e#35856#35857#0" expanded="true" /> - </folding> + <state vertical-scroll-proportion="-11.425" vertical-offset="5453" max-vertical-offset="13815"> + <caret line="481" column="20" selection-start-line="481" selection-start-column="20" selection-end-line="481" selection-end-column="20" /> + <folding /> + </state> + </provider> + </entry> + </file> + <file leaf-file-name="SwingRfbConnectionWorker.java" pinned="false" current-in-tab="true"> + <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java"> + <provider selected="true" editor-type-id="text-editor"> + <state vertical-scroll-proportion="0.33286518" vertical-offset="1626" max-vertical-offset="3840"> + <caret line="183" column="37" selection-start-line="183" selection-start-column="37" selection-end-line="183" selection-end-column="37" /> + <folding /> </state> </provider> </entry> @@ -178,9 +181,13 @@ <file leaf-file-name="TreeViewer.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="-1.15" vertical-offset="1679" max-vertical-offset="3270"> + <state vertical-scroll-proportion="0.0" vertical-offset="1679" max-vertical-offset="3270"> <caret line="120" column="31" selection-start-line="120" selection-start-column="31" selection-end-line="120" selection-end-column="31" /> - <folding /> + <folding> + <element signature="imports" expanded="false" /> + <element signature="e#9064#9065#0" expanded="false" /> + <element signature="e#9130#9131#0" expanded="false" /> + </folding> </state> </provider> </entry> @@ -190,13 +197,7 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="1320" max-vertical-offset="1620"> <caret line="122" column="23" selection-start-line="122" selection-start-column="23" selection-end-line="122" selection-end-column="23" /> - <folding> - <element signature="e#0#5110#0" expanded="false" /> - <element signature="imports" expanded="false" /> - <element signature="e#2407#2438#0" expanded="false" /> - <element signature="e#2997#3433#0" expanded="false" /> - <element signature="e#3432#3433#0" expanded="false" /> - </folding> + <folding /> </state> </provider> </entry> @@ -211,20 +212,6 @@ </provider> </entry> </file> - <file leaf-file-name="TreeRFBProto.java" pinned="false" current-in-tab="true"> - <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java"> - <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="9.394047" vertical-offset="3265" max-vertical-offset="17620"> - <caret line="918" column="5" selection-start-line="918" selection-start-column="5" selection-end-line="918" selection-end-column="5" /> - <folding> - <element signature="imports" expanded="true" /> - <element signature="e#34451#34452#0" expanded="true" /> - <element signature="e#34485#34486#0" expanded="true" /> - </folding> - </state> - </provider> - </entry> - </file> <file leaf-file-name="ConnectionPresenter.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java"> <provider selected="true" editor-type-id="text-editor"> @@ -250,7 +237,7 @@ <file leaf-file-name="ScreenChangeSelectionPanel.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeSelectionPanel.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1110"> + <state vertical-scroll-proportion="0.0" vertical-offset="750" max-vertical-offset="1110"> <caret line="58" column="23" selection-start-line="58" selection-start-column="22" selection-end-line="58" selection-end-column="23" /> <folding /> </state> @@ -260,8 +247,8 @@ <file leaf-file-name="IsRetina.java" pinned="false" current-in-tab="false"> <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/test/IsRetina.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="943"> - <caret line="16" column="17" selection-start-line="14" selection-start-column="0" selection-end-line="32" selection-end-column="21" /> + <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="615"> + <caret line="26" column="49" selection-start-line="26" selection-start-column="38" selection-end-line="26" selection-end-column="49" /> <folding /> </state> </provider> @@ -567,7 +554,6 @@ <option value="$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/protocol/SenderTask.java" /> <option value="$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/protocol/Protocol.java" /> <option value="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/RfbConnectionWorker.java" /> - <option value="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java" /> <option value="$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeVncCommand.java" /> <option value="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java" /> <option value="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/CuiViewer.java" /> @@ -583,6 +569,7 @@ <option value="$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java" /> <option value="$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java" /> <option value="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java" /> + <option value="$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java" /> </list> </option> </component> @@ -616,6 +603,7 @@ </navigator> <panes> <pane id="PackagesPane" /> + <pane id="Scope" /> <pane id="ProjectPane"> <subPane> <PATH> @@ -960,7 +948,6 @@ </PATH> </subPane> </pane> - <pane id="Scope" /> <pane id="Scratches" /> </panes> </component> @@ -1088,6 +1075,19 @@ </ExternalSystemSettings> <method /> </configuration> + <configuration default="true" type="Applet" factoryName="Applet"> + <module name="" /> + <option name="MAIN_CLASS_NAME" /> + <option name="HTML_FILE_NAME" /> + <option name="HTML_USED" value="false" /> + <option name="WIDTH" value="400" /> + <option name="HEIGHT" value="300" /> + <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" /> + <option name="VM_PARAMETERS" /> + <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> + <option name="ALTERNATIVE_JRE_PATH" /> + <method /> + </configuration> <configuration default="true" type="TestNG" factoryName="TestNG"> <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> <module name="" /> @@ -1116,19 +1116,6 @@ <listeners /> <method /> </configuration> - <configuration default="true" type="Applet" factoryName="Applet"> - <module name="" /> - <option name="MAIN_CLASS_NAME" /> - <option name="HTML_FILE_NAME" /> - <option name="HTML_USED" value="false" /> - <option name="WIDTH" value="400" /> - <option name="HEIGHT" value="300" /> - <option name="POLICY_FILE" value="$APPLICATION_HOME_DIR$/bin/appletviewer.policy" /> - <option name="VM_PARAMETERS" /> - <option name="ALTERNATIVE_JRE_PATH_ENABLED" value="false" /> - <option name="ALTERNATIVE_JRE_PATH" /> - <method /> - </configuration> <configuration default="true" type="Application" factoryName="Application"> <extension name="coverage" enabled="false" merge="false" sample_coverage="true" runner="idea" /> <option name="MAIN_CLASS_NAME" /> @@ -1318,18 +1305,18 @@ <window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" /> </layout> <layout-to-restore> + <window_info id="Palette	" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="UI Designer" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> - <window_info id="Palette	" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Changes" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="7" side_tool="false" content_ui="tabs" /> <window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" /> <window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="8" side_tool="true" content_ui="tabs" /> <window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="9" side_tool="false" content_ui="tabs" /> + <window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" /> - <window_info id="Gradle" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" /> <window_info id="Application Servers" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="10" side_tool="false" content_ui="tabs" /> <window_info id="Project" active="true" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.13529718" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" /> + <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.34118852" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.14520334" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" /> - <window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" weight="0.34118852" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" /> <window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Designer" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" /> <window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" /> @@ -1614,77 +1601,77 @@ <properties /> <option name="timeStamp" value="237" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java</url> <line>202</line> <properties /> <option name="timeStamp" value="248" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingNetworkConnectionWorker.java</url> <line>144</line> <properties /> <option name="timeStamp" value="249" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingNetworkConnectionWorker.java</url> <line>120</line> <properties /> <option name="timeStamp" value="250" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java</url> <line>224</line> <properties /> <option name="timeStamp" value="252" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java</url> <line>161</line> <properties /> <option name="timeStamp" value="253" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java</url> <line>28</line> <properties /> <option name="timeStamp" value="260" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java</url> <line>640</line> <properties /> <option name="timeStamp" value="264" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/protocol/ReceiverTask.java</url> <line>163</line> <properties /> <option name="timeStamp" value="270" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java</url> <line>152</line> <properties /> <option name="timeStamp" value="272" /> </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> - <url>file://$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/protocol/SenderTask.java</url> - <line>64</line> - <properties /> - <option name="timeStamp" value="276" /> - </line-breakpoint> - <line-breakpoint enabled="true" type="java-line"> + <line-breakpoint type="java-line"> <url>file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/ScreenChangeRequest.java</url> <line>41</line> <properties /> <option name="timeStamp" value="277" /> </line-breakpoint> + <line-breakpoint enabled="true" type="java-line"> + <url>file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java</url> + <line>982</line> + <properties /> + <option name="timeStamp" value="278" /> + </line-breakpoint> </breakpoints> <breakpoints-dialog> <breakpoints-dialog /> </breakpoints-dialog> - <option name="time" value="278" /> + <option name="time" value="279" /> </breakpoint-manager> <watches-manager /> </component> @@ -1707,16 +1694,7 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="10575" max-vertical-offset="13260"> <caret line="852" column="21" selection-start-line="852" selection-start-column="21" selection-end-line="852" selection-end-column="21" /> - <folding> - <element signature="e#32009#32461#0" expanded="true" /> - <element signature="e#32460#32461#0" expanded="true" /> - <element signature="e#33225#34026#0" expanded="true" /> - <element signature="e#34025#34026#0" expanded="true" /> - <element signature="e#34544#34845#0" expanded="true" /> - <element signature="e#34844#34845#0" expanded="true" /> - <element signature="e#35460#35857#0" expanded="true" /> - <element signature="e#35856#35857#0" expanded="true" /> - </folding> + <folding /> </state> </provider> </entry> @@ -1724,13 +1702,7 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="1320" max-vertical-offset="1620"> <caret line="122" column="23" selection-start-line="122" selection-start-column="23" selection-end-line="122" selection-end-column="23" /> - <folding> - <element signature="e#0#5110#0" expanded="false" /> - <element signature="imports" expanded="false" /> - <element signature="e#2407#2438#0" expanded="false" /> - <element signature="e#2997#3433#0" expanded="false" /> - <element signature="e#3432#3433#0" expanded="false" /> - </folding> + <folding /> </state> </provider> </entry> @@ -1748,8 +1720,8 @@ <caret line="201" column="32" selection-start-line="201" selection-start-column="32" selection-end-line="201" selection-end-column="32" /> <folding> <element signature="imports" expanded="true" /> - <element signature="e#34451#34452#0" expanded="true" /> - <element signature="e#34485#34486#0" expanded="true" /> + <element signature="e#34455#34456#0" expanded="true" /> + <element signature="e#34489#34490#0" expanded="true" /> </folding> </state> </provider> @@ -1776,9 +1748,6 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="2835" max-vertical-offset="3480"> <caret line="225" column="0" selection-start-line="225" selection-start-column="0" selection-end-line="225" selection-end-column="0" /> - <folding> - <element signature="e#8970#8971#0" expanded="false" /> - </folding> </state> </provider> </entry> @@ -1798,14 +1767,6 @@ </state> </provider> </entry> - <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java"> - <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.18987341" vertical-offset="0" max-vertical-offset="0"> - <caret line="52" column="48" selection-start-line="52" selection-start-column="48" selection-end-line="52" selection-end-column="48" /> - <folding /> - </state> - </provider> - </entry> <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/CreateConnectionParam.java"> <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.33333334" vertical-offset="0" max-vertical-offset="0"> @@ -1920,22 +1881,7 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0"> <caret line="257" column="40" selection-start-line="257" selection-start-column="40" selection-end-line="257" selection-end-column="40" /> - <folding> - <element signature="imports" expanded="false" /> - <element signature="e#2256#2283#0" expanded="false" /> - <element signature="e#2346#2364#0" expanded="false" /> - <element signature="e#5490#5491#0" expanded="false" /> - <element signature="e#5515#5516#0" expanded="false" /> - <element signature="e#5587#5588#0" expanded="false" /> - <element signature="e#5637#5638#0" expanded="false" /> - <element signature="e#5705#5706#0" expanded="false" /> - <element signature="e#5753#5754#0" expanded="false" /> - <element signature="e#10490#10508#0" expanded="false" /> - <element signature="e#14383#14384#0" expanded="false" /> - <element signature="e#14433#14434#0" expanded="false" /> - <element signature="e#14671#14672#0" expanded="false" /> - <element signature="e#14715#14716#0" expanded="false" /> - </folding> + <folding /> </state> </provider> </entry> @@ -2016,9 +1962,6 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0"> <caret line="225" column="0" selection-start-line="225" selection-start-column="0" selection-end-line="225" selection-end-column="0" /> - <folding> - <element signature="e#8970#8971#0" expanded="false" /> - </folding> </state> </provider> </entry> @@ -2042,13 +1985,7 @@ <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="0"> <caret line="122" column="23" selection-start-line="122" selection-start-column="23" selection-end-line="122" selection-end-column="23" /> - <folding> - <element signature="e#0#5110#0" expanded="false" /> - <element signature="imports" expanded="false" /> - <element signature="e#2407#2438#0" expanded="false" /> - <element signature="e#2997#3433#0" expanded="false" /> - <element signature="e#3432#3433#0" expanded="false" /> - </folding> + <folding /> </state> </provider> </entry> @@ -2070,17 +2007,13 @@ </entry> <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/TreeViewer.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="-1.15" vertical-offset="1679" max-vertical-offset="3270"> + <state vertical-scroll-proportion="0.0" vertical-offset="1679" max-vertical-offset="3270"> <caret line="120" column="31" selection-start-line="120" selection-start-column="31" selection-end-line="120" selection-end-column="31" /> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/test/IsRetina.java"> - <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="943"> - <caret line="16" column="17" selection-start-line="14" selection-start-column="0" selection-end-line="32" selection-end-column="21" /> - <folding /> + <folding> + <element signature="imports" expanded="false" /> + <element signature="e#9064#9065#0" expanded="false" /> + <element signature="e#9130#9131#0" expanded="false" /> + </folding> </state> </provider> </entry> @@ -2092,31 +2025,6 @@ </state> </provider> </entry> - <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java"> - <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.0" vertical-offset="4509" max-vertical-offset="8379"> - <caret line="307" column="5" selection-start-line="307" selection-start-column="5" selection-end-line="307" selection-end-column="5" /> - <folding /> - </state> - </provider> - </entry> - <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java"> - <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="-1.075" vertical-offset="14573" max-vertical-offset="16794"> - <caret line="958" column="52" selection-start-line="958" selection-start-column="52" selection-end-line="958" selection-end-column="52" /> - <folding> - <element signature="e#32009#32461#0" expanded="true" /> - <element signature="e#32460#32461#0" expanded="true" /> - <element signature="e#33225#34026#0" expanded="true" /> - <element signature="e#34025#34026#0" expanded="true" /> - <element signature="e#34544#34845#0" expanded="true" /> - <element signature="e#34844#34845#0" expanded="true" /> - <element signature="e#35460#35857#0" expanded="true" /> - <element signature="e#35856#35857#0" expanded="true" /> - </folding> - </state> - </provider> - </entry> <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/ConnectionPresenter.java"> <provider selected="true" editor-type-id="text-editor"> <state vertical-scroll-proportion="0.0" vertical-offset="1390" max-vertical-offset="5145"> @@ -2127,13 +2035,11 @@ </state> </provider> </entry> - <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingNetworkConnectionWorker.java"> + <entry file="file://$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/protocol/SenderTask.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.0" vertical-offset="921" max-vertical-offset="2655"> - <caret line="120" column="0" selection-start-line="120" selection-start-column="0" selection-end-line="120" selection-end-column="0" /> - <folding> - <element signature="imports" expanded="true" /> - </folding> + <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="1035"> + <caret line="64" column="0" selection-start-line="64" selection-start-column="0" selection-end-line="64" selection-end-column="0" /> + <folding /> </state> </provider> </entry> @@ -2145,26 +2051,63 @@ </state> </provider> </entry> - <entry file="file://$PROJECT_DIR$/src/main/java/com/glavsoft/rfb/protocol/SenderTask.java"> + <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingNetworkConnectionWorker.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="0.505618" vertical-offset="0" max-vertical-offset="1424"> - <caret line="76" column="0" selection-start-line="76" selection-start-column="0" selection-end-line="76" selection-end-column="0" /> + <state vertical-scroll-proportion="0.0" vertical-offset="720" max-vertical-offset="2655"> + <caret line="118" column="34" selection-start-line="118" selection-start-column="34" selection-end-line="118" selection-end-column="34" /> + <folding> + <element signature="imports" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/test/IsRetina.java"> + <provider selected="true" editor-type-id="text-editor"> + <state vertical-scroll-proportion="0.0" vertical-offset="0" max-vertical-offset="615"> + <caret line="26" column="49" selection-start-line="26" selection-start-column="38" selection-end-line="26" selection-end-column="49" /> <folding /> </state> </provider> </entry> <entry file="file://$PROJECT_DIR$/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java"> <provider selected="true" editor-type-id="text-editor"> - <state vertical-scroll-proportion="9.394047" vertical-offset="3265" max-vertical-offset="17620"> - <caret line="918" column="5" selection-start-line="918" selection-start-column="5" selection-end-line="918" selection-end-column="5" /> + <state vertical-scroll-proportion="0.0" vertical-offset="1652" max-vertical-offset="13215"> + <caret line="81" column="29" selection-start-line="81" selection-start-column="29" selection-end-line="81" selection-end-column="29" /> <folding> <element signature="imports" expanded="true" /> - <element signature="e#34451#34452#0" expanded="true" /> - <element signature="e#34485#34486#0" expanded="true" /> + <element signature="e#34455#34456#0" expanded="true" /> + <element signature="e#34489#34490#0" expanded="true" /> + </folding> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/Viewer.java"> + <provider selected="true" editor-type-id="text-editor"> + <state vertical-scroll-proportion="0.88306165" vertical-offset="5234" max-vertical-offset="6645"> + <caret line="501" column="12" selection-start-line="501" selection-start-column="12" selection-end-line="501" selection-end-column="12" /> + <folding> + <element signature="e#9713#9714#0" expanded="true" /> + <element signature="e#9741#9742#0" expanded="true" /> </folding> </state> </provider> </entry> + <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java"> + <provider selected="true" editor-type-id="text-editor"> + <state vertical-scroll-proportion="-11.425" vertical-offset="5453" max-vertical-offset="13815"> + <caret line="481" column="20" selection-start-line="481" selection-start-column="20" selection-end-line="481" selection-end-column="20" /> + <folding /> + </state> + </provider> + </entry> + <entry file="file://$PROJECT_DIR$/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java"> + <provider selected="true" editor-type-id="text-editor"> + <state vertical-scroll-proportion="0.33286518" vertical-offset="1626" max-vertical-offset="3840"> + <caret line="183" column="37" selection-start-line="183" selection-start-column="37" selection-end-line="183" selection-end-column="37" /> + <folding /> + </state> + </provider> + </entry> </component> <component name="hg4idea.settings"> <option name="CHECK_INCOMING_OUTGOING" value="true" />
--- a/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Thu Nov 19 15:19:29 2015 +0900 +++ b/src/main/java/jp/ac/u_ryukyu/treevnc/TreeRFBProto.java Thu Nov 19 15:42:08 2015 +0900 @@ -79,7 +79,7 @@ private byte[] originalInitData = null; private boolean childrenMulticast = true; - private int retinaScale; + private int retinaScale = 1; public TreeRFBProto(boolean isTreeManager, ViewerInterface viewer) { rThread = new RequestScreenThread(this);
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java Thu Nov 19 15:19:29 2015 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingRfbConnectionWorker.java Thu Nov 19 15:42:08 2015 +0900 @@ -181,7 +181,7 @@ if (myRfb.hasViewer()) { boolean visibility = presenter.getReconnectingId() != myRfb.getId(); viewerWindow.setVisible(visibility); - viewerWindow.zoomToFit(); + viewerWindow.fitScreen(); } }
--- a/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Thu Nov 19 15:19:29 2015 +0900 +++ b/src/viewer_swing/java/com/glavsoft/viewer/swing/SwingViewerWindow.java Thu Nov 19 15:42:08 2015 +0900 @@ -982,11 +982,11 @@ public void fitScreen() { ArrayList<Rectangle> rectangles = viewer.getScreenRectangles(); int leftScreenNumber = 0; - int thisScreenWidth = (int) rectangles.get(leftScreenNumber).getWidth() * viewer.getRfb().getRetinaScale(); - int thisScreenHeight = (int) rectangles.get(leftScreenNumber).getHeight() * viewer.getRfb().getRetinaScale(); + int thisScreenWidth = (int) rectangles.get(leftScreenNumber).getWidth(); + int thisScreenHeight = (int) rectangles.get(leftScreenNumber).getHeight(); - int singleWidth = viewer.getRfb().getSingleWidth(); - int singleHeight = viewer.getRfb().getSingleHeight(); + int singleWidth = viewer.getRfb().getSingleWidth() * viewer.getRfb().getRetinaScale(); + int singleHeight = viewer.getRfb().getSingleHeight() * viewer.getRfb().getRetinaScale(); frame.setSize(thisScreenWidth, thisScreenHeight); uiSettings.fitScreen(thisScreenWidth, thisScreenHeight, singleWidth, singleHeight); }