mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-26 09:19:27 +00:00
b0650f6afe
With this change we are removing specific code to scroll the Editor widget. Now if we use Editor::setEditorScroll() to scroll it should work as View::setViewScroll(). In this way we remove the ugly "blitValidRegion" parameter from setEditorScroll(). Changes: * Removed Widget::scrollRegion() because each widget must control valid/invalid regions after a ui::move_region() in a very specific way (see View::setViewScroll() or Window::moveWindow) * Invalidate the whole widget on Widget::setBoundsQuietly() * Fixed problems blitting invalid regions/not yet updated/painted: using the new ui::Manager::m_invalidRegion. * Added View::onSetViewScroll() and View::onScrollRegion() * Added FileListView to avoid moving the thumbnail region when we scroll
50 lines
1.9 KiB
XML
50 lines
1.9 KiB
XML
<!-- ASEPRITE -->
|
|
<!-- Copyright (C) 2001-2016 by David Capello -->
|
|
<gui>
|
|
<window id="file_selector" text="">
|
|
<vbox id="main">
|
|
<box horizontal="true">
|
|
<box horizontal="true" noborders="true">
|
|
<button text="" id="go_back_button" bevel="2 0 2 0" tooltip="Go back one folder" />
|
|
<button text="" id="go_forward_button" bevel="0 2 0 2" tooltip="Go forward one folder" />
|
|
</box>
|
|
<button text="" id="go_up_button" tooltip="Up to parent folder (Backspace)" />
|
|
<button text="" id="new_folder_button" tooltip="New folder" />
|
|
<combobox id="location" expansive="true" />
|
|
</box>
|
|
<vbox id="file_view_placeholder" expansive="true" />
|
|
<grid columns="2">
|
|
<label text="File name:" />
|
|
<box id="file_name_placeholder" cell_align="horizontal" />
|
|
|
|
<label text="File type:" />
|
|
<hbox cell_align="horizontal">
|
|
<combobox id="file_type" minwidth="70" />
|
|
<hbox id="resize_options">
|
|
<label text="Resize:" />
|
|
<combobox id="resize">
|
|
<listitem text="25%" value="0.25" />
|
|
<listitem text="50%" value="0.5" />
|
|
<listitem text="100%" value="1" />
|
|
<listitem text="200%" value="2" />
|
|
<listitem text="300%" value="3" />
|
|
<listitem text="400%" value="4" />
|
|
<listitem text="500%" value="5" />
|
|
<listitem text="600%" value="6" />
|
|
<listitem text="700%" value="7" />
|
|
<listitem text="800%" value="8" />
|
|
<listitem text="900%" value="9" />
|
|
<listitem text="1000%" value="10" />
|
|
</combobox>
|
|
</hbox>
|
|
<boxfiller />
|
|
<box horizontal="true" homogeneous="true">
|
|
<button text="&OK" closewindow="true" id="ok" magnet="true" width="60" />
|
|
<button text="&Cancel" closewindow="true" id="cancel" />
|
|
</box>
|
|
</hbox>
|
|
</grid>
|
|
</vbox>
|
|
</window>
|
|
</gui>
|