#
dae087ed |
|
28-Mar-2024 |
Emir SARI <bitigchi@me.com> |
ShowImage: Apply i18n to number values Also use multiplication sign for a nicer look Change-Id: I526204832d4826f44a326f44037173418d8e2885 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7556 Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org> Reviewed-by: Niels Sascha Reedijk <niels.reedijk@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
2b50f775 |
|
21-Nov-2023 |
Humdinger <humdinger@mailbox.org> |
ShowImage: fix off-by-1 image placement The image was placed 1 pixel to the right, resulting in a grey vertical line appearing to the left of the image. Fixes #18679 Change-Id: I02b1cb6bc898c48ff73ae114b2cda368ea636de7 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7118 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
345265c3 |
|
13-Nov-2023 |
Humdinger <humdinger@mailbox.org> |
ShowImage: fix saving As investigated and suggested by jackburton in ticket #14693: outTranslator wasn't initialized correctly (due to type mismatch on 64 bit platform). Also set the image's file name as default in the save dialog. Fixes #14693 Change-Id: I741e3616b935315a707ea3949a330d41d577fd91 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7102 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
15305513 |
|
03-Nov-2023 |
Humdinger <humdinger@mailbox.org> |
Add "Reset rating" menu item to MediaPlayer and ShowImage Doesn't remove the rating BFS attribute from the file, just sets it to "0". ShowImage: Move "Ratings" menu into a new "Attributes" menu, similar to MediaPlayer. Change-Id: I831166d88be9d18f1d302a423aa43929b7a1b255 Reviewed-on: https://review.haiku-os.org/c/haiku/+/7092 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
4391f32b |
|
29-Oct-2023 |
Humdinger <humdinger@mailbox.org> |
ShowImage: Re-arrange menu items * Moved "Use as background..." from "Image" to "File" menu. "Image" holds items that affect the display of actual image (rotate/flip). "Use as background..." doesn't. * Move "Close" down above "Quit". Change-Id: I23ddcc2cf03937322649ab289ef405f84c878dfb Reviewed-on: https://review.haiku-os.org/c/haiku/+/7090 Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
32ed03a5 |
|
28-Oct-2023 |
Humdinger <humdinger@mailbox.org> |
ShowImage: Add "Open with..." menu Populate a new sub-menu with all applications that support the current image's MIME type. Launch the chosen app with the image entry_ref as B_REFS_RECEIVED message. The sub-menu listing supporting apps is separated into apps supporting the supertype ("image/" and full support (e.g. "image/png"). Add the new "Open with..." menu to the "File" menu and the context menu of the image. Most of the code was grabbed from the FileType prefs PreferredAppMenu, therefore its copyright was copied and extended. Change-Id: I0190cf4b78c59e429f4e67654665598340653c5d Reviewed-on: https://review.haiku-os.org/c/haiku/+/7072 Reviewed-by: Axel Dörfler <axeld@pinc-software.de> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
20e18366 |
|
25-Aug-2023 |
Augustin Cavalier <waddlesplash@gmail.com> |
ShowImage: Use layouts for the main view area. The main window itself is still not using them, due to incompatibilities with the toolbar animation. Fixes #18547.
|
#
893d5930 |
|
23-Jul-2021 |
Adrien Destugues <adrien.destugues@opensource.viveris.fr> |
ShowImage: fix scrollbar size Change-Id: I5c50bd9a842ce79d78b6e9c2227dc37e3c52c6e6 Reviewed-on: https://review.haiku-os.org/c/haiku/+/3755 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com> Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
|
#
a4462d20 |
|
29-Jun-2020 |
Humdinger <humdingerb@gmail.com> |
ShowImage: Reset slide show delay if a user interferes This change resets the delay when the user moves to next/previous image or page within an image (e.g. TIFF) or deletes an image while a slide show is running. Fixes #16321 Change-Id: If0b8f4caef9c6aa4c0ad5bbb01d65bf43c1f831f Reviewed-on: https://review.haiku-os.org/c/haiku/+/2967 Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
|
#
47df2afb |
|
02-Aug-2019 |
Ryan Leavengood <leavengood@gmail.com> |
ShowImage: Wrap to first image when going next on last image I find this handy and in addition it makes the slide show cyclic again, fixing #10386. Going the other way might also be useful, but that requires some additions to the Navigator code first.
|
#
fb94ed11 |
|
31-Dec-2015 |
Avi Brenner <avi.brenner@gmail.com> |
ShowImage: Adds an option to launch tracker file info for currently viewed file. Fixes #12241 Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk>
|
#
fa19dd44 |
|
10-Dec-2015 |
looncraz <looncraz@looncraz.net> |
apps: Convert to using Set*UIColor. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Patches 0045-0075, 0077-0087 from looncraz, unmodified.
|
#
58ee42e9 |
|
21-Jul-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
BToolBar: Add a "text" parameter. For defining the text that appears alongside the icon. This function really has too many parameters; we probably should break it out into a BAction class...
|
#
b41cdcb3 |
|
20-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: reformat lines over 80 chars. * Last commit of the day, I need a vacation!
|
#
9c1f5f4d |
|
20-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: improve attributes performance. * Writes the attributes only if they are different or missing. * Thanks Humdinger for point out.
|
#
c1994be8 |
|
21-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: fixes variables declaration. * Thanks Axel.
|
#
005198d9 |
|
21-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Fixes wrong indentation.
|
#
e62a6973 |
|
21-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Set width and height attributes of the showed image. * Fixes #8745.
|
#
3000afd7 |
|
13-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Remember save location * Fixes #6766.
|
#
baa27ccb |
|
09-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Multipage images displayed in sequence. * The correct page is displayed. * Next/Previous/First/Last page are enabled and disable as Next/Previous File. * Add in the status bar current page/ total page. * Fixes #11959.
|
#
cae52ead |
|
07-Apr-2015 |
Janus <janus2@ymail.com> |
Showimage: Add zoom level to StatusBar. * Improve StatusBar graphics (Same style as StyledEdit). * Resize the StatusBar to best fit. * Fixes #7394.
|
#
be63ec85 |
|
07-Apr-2015 |
Janus <janus2@ymail.com> |
Showimage: Wait for loader threads on exit. * Uses find_thread to wait for loader threads. (better solutions are welcome) * As suggested by Axel the cache isn't static anymore. * Fixes 8902.
|
#
442e457d |
|
05-Apr-2015 |
Gerasim Troeglazov <3dEyes@gmail.com> |
ShowImage: Added toolbar buttons for browsing multipage documents
|
#
60c23976 |
|
10-Mar-2015 |
Janus <janus2@ymail.com> |
Fix 11898. [ShowImage] Move toolbar buttons near the screen border in fullscreen mode Signed-off-by: John Scipione <jscipione@gmail.com>
|
#
704a3fe2 |
|
04-Jan-2014 |
Janus <janus2@ymail.com> |
ShowImage: Correct frame size in fullscreen. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Fixes #7590. Thanks!
|
#
94a4c1c4 |
|
11-Feb-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
BToolbar: rename to BToolBar. "BToolBar" matches the current convention ("BStatusBar", "BMenuBar", etc.) I've no idea what I was thinking when I renamed this before... Also adjust all users of BToolBar (Tracker and ShowImage).
|
#
03ad73fc |
|
24-Nov-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
More uses of BMessageFormat ZipOMatic, DiskUsage, MediaConverter, MediaPlayer, ShowImage, WebPositive, Screen preferences, Tracker, string_for_size. Thanks to KapiX for reporting those!
|
#
6d93638b |
|
30-Oct-2014 |
Augustin Cavalier <waddlesplash@gmail.com> |
ToolBarView: rename to BToolbar and move to libshared. Also adjust ShowImage for this, it's the only thing that's using ToolBarView right now. Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
|
#
991dadd6 |
|
16-Jun-2014 |
Humdinger <humdingerb@gmail.com> |
Make sure there's a space in front of B_UTF8_ELLIPSIS. As PulkoMandy said in hrev47388: C++11 safe and reads better.
|
#
8073fcbb |
|
29-Apr-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Style fixesStyle fixes.
|
#
554e2073 |
|
28-Apr-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
ShowImage: add feature to force original size. * This is enabled by shift+click on the Original Size toolbar button. * The button stays pressed as long as the feature is enabled. Clicking it again disables it. * When this is enabled, all images will be shown at original size, instead of being scaled up or down to fit the window. * This is not persistent, and only affects the current session/window.
|
#
d5647665 |
|
20-Jan-2014 |
Humdinger <humdingerb@gmail.com> |
Added menu item "Move to Trash" Changed shortcut of "Show tool bar" to ALT+B. Assigned shortcut ALT+T zu "Move to Trash", having the same as e.g. Tracker and MediaPlayer playlist. DELETE still works as alternative shortcut (if there's an active selection, it will get unselected instead, as before).
|
#
fa392c2a |
|
05-Mar-2013 |
Ryan Leavengood <leavengood@gmail.com> |
Remove unused ShowImage Undo code.
|
#
95667008 |
|
01-Dec-2012 |
Janus <janus2@ymail.com> |
Fix7734. Avoid race conditions in ToolBar animation Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
|
#
5df9097a |
|
18-Jan-2013 |
John Scipione <jscipione@gmail.com> |
Use stop alert icon if can't find translator
|
#
7f4d1af4 |
|
04-Jan-2013 |
Sergei Reznikov <diver@gelios.net> |
Compilation fixes for x86_64. Added quite a few missing components to image: alert arp bc CortexAddOnHost CDPlayer CharacterMap DeskCalc Devices DiskUsage Expander LaunchBox MediaConverter NetworkStatus PoorMan Pulse Screenshot ShowImage SoundRecorder TV Workspaces DataTranslations Media Printers ScreenSaver BSnow Cortex FontDemo OverlayImage Pairs cddb_daemon midi_server power_daemon print_server print_addon_server Canon LIPS3 Compatible Canon LIPS4 Compatible Gutenprint PCL5 Compatible PCL6 Compatible PDF Writer PS Compatible libgame.so libmedia.so Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
|
#
a8199d69 |
|
07-Nov-2012 |
threedeyes <3dEyes@gmail.com> |
Fixed wrong parameters order
|
#
aed35104 |
|
05-Aug-2012 |
Humdinger <humdingerb@gmail.com> |
Close alerts with ESCAPE key. Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts depending if the result gets used later in the code, or if it's a one-button BAlert.
|
#
2804cb33 |
|
24-Jun-2012 |
Ryan Leavengood <leavengood@gmail.com> |
Fix off-by-one error which caused scrolling artifacts. Based on printf debugging the correct left value is actually -1, not 0, but instead of hard-coding numbers it makes more sense to use the existing value. I'm not sure if a -1 left value makes much sense, but overall this seems to work and does not have the scrolling artifacts. But overall I think ShowImage needs more layout management. Doing all this moving and resizing manually is error prone. Fixes #8648.
|
#
67eb2a04 |
|
24-Jun-2012 |
Humdinger <humdingerb@gmail.com> |
Reverting hrev44253. Didn't fix the issue, see #8648.
|
#
537a273c |
|
24-Jun-2012 |
Humdinger <humdingerb@gmail.com> |
Coding style changes, no functional change. Hope all's OK, Filter.h is still mostly untouched as it's quite messy with many exessive commenting.
|
#
6f55e249 |
|
23-Jun-2012 |
Humdinger <humdingerb@gmail.com> |
Fixed redrawing bug when coming out of fullscreen mode. After coming back from fullscreen mode, horizontally scrolling a zoomed image would draw vertical lines from the right border. Seems like an off-by-one issue. This fixes it in my tests... hope it's properly done.
|
#
546208a5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
162e5c80 |
|
24-Jun-2011 |
Ryan Leavengood <leavengood@gmail.com> |
When the toolbar is hidden by animation it is moved, and so we need to move it back when showing it again but not using animation. Fixes #7734. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42306 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
48ae3e38 |
|
27-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Followed Ingo's suggestion, and added a BWindow::Layout() method. * Changed ShowImage to use that function. +alpha in case Ingo gives his okay :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41782 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eaa910c5 |
|
27-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* We obviously need to relayout manually, as it looks like the view is not layouted correctly after the resize. This fixes bug #7577. Ingo, is this the desired behaviour of the layout engine, and if so, what's the rationale behind it? * Removed extraneous FitToBounds() call in ShowImageView::SetHideIdlingCursor(); it doesn't belong there. +alpha git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41772 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b6dc1bc |
|
20-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed leftover debug output. +alpha git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41610 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
94fd9498 |
|
08-Apr-2011 |
Stephan Aßmus <superstippi@gmx.de> |
* The window uses layout management in principle. This was necessary to get the main menu bar to report the correct minimum size. My previous commit with regards to setting the correct minimum window size introduced a regression that the window could not shrink below it's initial size because of some backwards compatibility behavior of BMenuBar (IIRC). * Inserted a content view to hold the tool bar and the show image views. This one does not use layout management, so that everything pretty much works as before. * Showing/Hiding the tool bar is now animated. * When the tool bar is enabled in principle, it will automatically show in full screen mode when the user moves the mouse. When the mouse is not above the tool bar, it is hidden after a delay. * Added a right-aligned "Leave full screen" icon to the tool bar. * Improved the workings of the slide show icon. As before, it automatically triggers full screen mode. It is now pressed when the slide show is running. Clicking it again just stops the slide show without affecting the full screen mode (i.e. also not when the user left full screen mode meanwhile). There are some problems with images not being automatically sized to the full screen size as would be expected. This needs to be fixed, yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41202 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b13c418 |
|
07-Apr-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Compute window size limits at least with the minimum menu bar and tool bar width taken into account. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41199 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11c7ff53 |
|
25-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Removing most About windows and menu items as discussed here http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3 Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70 Some sporadic cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41108 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560ff447 |
|
25-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cf9f46bc |
|
21-Mar-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Double click now toggles full screen, as in the MediaPlayer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41069 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a877c0e7 |
|
21-Mar-2011 |
Stephan Aßmus <superstippi@gmx.de> |
* Changed the previous/next icons to the ones intended by zuMi. * Removed the full-screen icon, since the zoom icon of the window already does the job. * Added an icon for the slide show, but it additionally goes into full-screen mode. * Added appropriate work arounds for bugs in the Interface Kit concerning the hiding of tool-tips, and a bug in the app_server concerning the invalidation of unhidden views... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41065 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cf0d8308 |
|
19-Mar-2011 |
Stephan Aßmus <superstippi@gmx.de> |
* Display a tool bar by default (setting can be toggled in the View menu) * The previous/next, selection mode, zoom actions and full screen mode are accessible via tool bar. * The tool bar can currently not be shown in full screen mode. Eventually, I want it to work like in MediaPlayer when it is generally enabled. * Fixed capitalization "Selection Mode" into "Selection mode" (needs catalogs update for all languages). * When leaving selection mode, clear the selection. Especially with the new tool bar icon, it looked really weird and irritating when the selection persisted. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41055 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71302e7c |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40973 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c418e2be |
|
19-Feb-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Fixed a bug noticed by Axel (thanks!): Don't store the fullscreen window frame when quitting ShowImage in fullscreen mode, but the old window frame instead which would be restored when leaving fullscreen more. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40561 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5b76e505 |
|
19-Feb-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Two unrelated features mangled into one commit: * Added a Rating menu to the ShowImage window, to easily give the current image a rating (uses same attribute as other types of media, i.e. MediaPlayer). * ShowImage no longer tries to adapt the window size of newly opened windows to the image that is loaded into them. I've found that the most annoying ShowImage misbehavior. I don't know why this was thought to be a good idea, maybe it was useful in BeOS presentations when you select 20 images in a folder and make them pop up all at once. I however use ShowImage mainly to view at fotos, all of which are larger than my screen, so ShowImage would basically _aÃlways_cover up everything, even though there is the fullscreen mode for that. Now, ShowImage remembers the last used window position, new windows will open at an offset. In another words, you can now have a Tracker folder of images open, view one, close the window, view another, ShowImage will open at the previous location, all very convenient and expected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40556 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4aa63633 |
|
09-Jan-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the slide show code from ShowImageView, and reimplemented them in ShowImageWindow using a BMessageRunner. * Note, this is completely untested, as it turns out my Haiku installation on this box is too old to run it. It compiles, at least, and shouldn't break anything else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40178 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9617074c |
|
28-Dec-2010 |
Ryan Leavengood <leavengood@gmail.com> |
CID 5273: Don't hide the message parameter with a local variable. Not critical but good coding practice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40009 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
df942b3e |
|
18-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Always make sure the reference to the bitmap is actually released. This should fix bug #6824. * Don't queue more pictures if we can only use a single CPU, and the queue is already busy. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39486 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e2069723 |
|
14-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the "shrink to window" option. Instead, there is now a "Fit to window" menu item that just does that. Additionally, the image is always fit to the window size when first shown, or if the full screen mode switches. That also fixes #6765, and #6810. * The ImageCache now also passes a referenced BitmapOwner object, and bitmaps are now actually freed when it's allowed to. * Pressing the zoom button will cause ShowImage to enter full screen again. For some reason this has been removed as part of r19540. * The progress window is now visible again, although not that often, as you will only see it for images that were not in the queue already. The window is now known to the ShowImageWindow instead of the ShowImageView. * Moved most constants out of ShowImageConstants.h to where they belong. * Dropping an image now opens it in another window. * Removed EntryMenuItem as it's no longer used anywhere. * Minor other cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39431 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a569816b |
|
09-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented preloading of the images around he current one; always two in the direction of the current navigation, and one in the opposite direction. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39377 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b9767a83 |
|
08-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* The ImageFileNavigator is now only for navigation, it doesn't load any images anymore. * Moved the new ImageCache into its own source file. * The cache is now used within ShowImage. There is no read-ahead caching being done yet, though, but you can quickly return to previous images, and you can also skip images faster than before. * Improved separation between the ShowImageStatusView and the rest; ShowImageWindow no longer has a getter for the image view. * The status view is now using the private BDirMenu which implements enhancement ticket #6778. * Made a few more methods private/protected in ShowImageWindow. * Fixed bug #6797. * The bitmap is currently only owned by the ImageCache, but we need to have a separate referenceable object owning it. Added a TODO comment for this. * The ProgressWindow is currently not being used anymore, added a TODO comment for this as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39364 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
328932ac |
|
05-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Work in progress on implementing asynchronous image retrieval with a read-ahead cache. Not yet done or used. * Added deleting images via delete key again. The only difference to before is that it will open the previous image if the last image in a folder was removed, and only close ShowImage if there is no image left. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ba3217ee |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved the Tracker navigation logic into its own class, TrackerNavigation. * Added a new class FolderNavigation that implements the same for folders without a Tracker window. * ImageFileNavigator is now using either one depending on whether it got a valid tracker messenger. * Removed some unused/unneeded methods. * Made entry_ref a reference at some more methods, as it's not really optional. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2281340d |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Renamed _LoadSettings() to _ApplySettings(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39287 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
36272f0d |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the home-brewn recent menu, and just uses the one libtracker.so provides instead. * This also fixes bug #6774. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39285 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
01939af6 |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Quit() in the constructor does not work as one might expect. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39284 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ddcb5a2c |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Reverted Rene's fix for the broken build - it's no longer necessary. Thank you for cleaning up behind me! * Fixed bug #6771 by adding the shift key to the page shortcuts. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39282 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b1534fc0 |
|
01-Nov-2010 |
Rene Gollent <anevilyak@gmail.com> |
Build fixes mostly due to usage of a translation macro that isn't (currently) available in the source tree. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39267 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04f96544 |
|
01-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed resizing ability. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39262 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cd6b5cde |
|
01-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Completed stippi's work on the ImageFileNavigator. * ShowImageWindow is now using such a navigator. * Removed navigation support from ShowImageView. * Prepared everything to support asynchronous image loading (which is not yet implemented, though). * Note, this commit brings some regressions I intend to fix in the next few days, namely deleting files won't work anymore, and dropping images onto ShowImage. There might be more I don't know about, though :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39259 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6db01936 |
|
24-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a selection mode that can currently only be enabled via the menu (should be part of an optional tool bar in the future). Now the primary, and the tertiary mouse button pan the image. You still get the selection when using alt or ctrl and the primary mouse button, even outside of the selection mode. In selection mode, the primary button changes the selection. * Renamed {Shrink|Stretch}ToBounds() to comply to our coding style, thanks Ingo. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39132 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4fd570d3 |
|
24-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed another pet peeve of mine: you can now always zoom, no matter if you have enabled the shrink/stretch option. * Renamed "zoom to window" to "stretch to window". * Readded the shrink/stretch options to the full screen context menu only. * Renamed GetShrinkToBounds() to ShrinkToBounds() as it's a simple getter. * Changed how and when the shrink/stretch options come into play. Shrinking is now only set once, when the image is first shown. * Added snapping in ZoomIn(), and ZoomOut(): they will now always choose 1.0, and the "fit to window" zoom level when they are close. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39129 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32c22143 |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* The shrink/zoom to window options aren't available anymore from the context menu. I plan to allow zooming always, so they won't be needed that often anymore. * Removed all selection copy/move/cut code. This just doesn't belong into an image viewer. * Selections are now changed using the tertiary mouse button, or when you press the command or control modifiers. Instead, the image will now be moved around with the left button. * If you drop an image file to ShowImage, it will now open it instead of pasting it as selection. * Reworked the scrolling/selection code to never poll, and never use GetMouse(). Instead properly use the asynchronous API (ie. B_NO_POINTER_HISTORY). * I plan to remove the scaling code as well: the results aren't as good as they could be (bilinear scaling isn't the solution for everything), and the interface is pretty awkward, anyway. IMO, this kind of functionality should be left to apps that are actually thought for image editing. Another solution would be a Tracker add-on that resizes (multiple) images. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39105 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d164619e |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the delayed scaler code - it's no longer needed (and was trying rather stupid things like creating a 50000x40000 pixel bitmap if you zoomed in). * Removed dithering in CMAP8 mode. Please use 32 bit mode instead :-) * Cleaned up ShowImageWindow.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39098 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1076d97b |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the ability to invert an image. If you really need that feature, you'll now have to open an image editing application instead. * Removed the black border around the image. * Removed the B_PANEL_BACKGROUND_COLOR background in non-full screen mode - it's now always black. * Made zoom level changes exponential. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39095 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6046b973 |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented zooming to the current mouse position. Thanks to stippi for the invalidate trick to prevent the app_server to scroll. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39079 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
36c17651 |
|
12-May-2010 |
Ryan Leavengood <leavengood@gmail.com> |
Fix #5810 by disabling the Go to page sub-menu under Browse when there is only one page. Also a small refactor of a variable name in that area. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36798 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4eb0cbb0 |
|
07-May-2010 |
Matt Madia <mattmadia@gmail.com> |
Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
905c8c8c |
|
06-May-2010 |
Matt Madia <mattmadia@gmail.com> |
Updated to use B_TRANSLATE* macros. relates to #5408. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36673 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1ed4535f |
|
22-Mar-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by mt. Localization and conversion to use the layout API with coding style fixes along the way. Thanks a lot! Fixes #5563. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35929 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dc |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f75975a9 |
|
22-Nov-2009 |
Philippe Saint-Pierre <stpere@gmail.com> |
ShowImage : * Changing pictures using the arrow keys while being in a picture folder in tracker would quit the fullscreen mode (if you happen to be in that mode) because it tries to resize the window to fit the new picture. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34194 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
29c4d5a9 |
|
18-Aug-2009 |
Philippe Saint-Pierre <stpere@gmail.com> |
ShowImage: Using the up and down arrow to change images from a tracker folder, and loading an image bigger than the current window size didn't get the window enlarged. exceptions: the window doesn't get resized by this mean if you check the Shrink to window or Zoom to window settings. Fixes ticket #4273. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32502 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a74004c |
|
15-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
- Added back code for scrolling with the cursor keys, this time only when Shift is pressed. - Took Humdinger's excellent advice from #4190 to open the Backgrounds preferences from ShowImage instead of setting the background manually. This required some tweaks to the Backgrounds preferences to accept RefsReceived in the application and forward that to the view. In addition the placement is set to scaled since otherwise it will keep the old placement. How this is done is sort of hacky, but I'm going to call it an "internal protocol." This also allowed me to remove the BackgroundImage code from ShowImage which was just copied from Tracker (yuck.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32424 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
037e5cee |
|
14-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
Implemented pretty much all of #4190. The Enter key was actually already set as a shortcut for fullscreen, but I guess the view was processing it first. So I just removed B_ENTER as an option for next image. Also Shift plus primary mouse was already working for moving the image. Also I know it was discussed at length but I still wonder if all these options for next and previous image are overkill. Now there is no way to scroll with the keyboard. And there isn't an easy way to go to the next image with the mouse (menus are a pain.) So I still think some more UI tweaking is needed to avoid constant shifting between mouse and keyboard. Finally I also added Command-1 as a shortcut for Original Size, but it does not work. Anyone know why? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32343 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fd952aef |
|
13-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
Started cleaning up these monsters: - Add underscore to private methods. - Use class member initializer syntax. - Make sure all class members are initialized, use same order as headers. - Header reordering. - A few other small things. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32342 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c1a10c14 |
|
02-Oct-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* fix mem leak git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27856 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6163f333 |
|
25-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* some more cleanup * pass the target directly to AddItemMenu * use default paramter to enable the menu item * fixed messenger leaks for file panel and resizer window messenger * show the job config panel when the 'Print' menu item is invoked + shortcut git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27204 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56b0c7b9 |
|
25-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* cleanup, no functional change git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27201 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3177ae77 |
|
22-Nov-2007 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
small cleanup at the code I looked at git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22979 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ebaed939 |
|
30-Jan-2007 |
Ryan Leavengood <leavengood@gmail.com> |
We now disable the "Resize..." menu item when a slideshow is started. Not a huge deal but it doesn't make much sense to resize images during a slideshow. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20020 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8f5fd23f |
|
29-Jan-2007 |
Ryan Leavengood <leavengood@gmail.com> |
The size of the selection rectangle is now shown in the status bar. Useful for cropping an image to a certain size or taking similar sized croppings from various images (as I need to do.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20012 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
880be331 |
|
28-Jan-2007 |
Ryan Leavengood <leavengood@gmail.com> |
General changes: - Fixed some formatting in the recently added resizing code. - Changed the operation name for rotating counterclockwise to use that name instead of anticlockwise. This makes the code consistent with the GUI. - Reformatted the constants header to use an enum. Also removed the empty constants cpp file. - The QuitRequested handler in the app did not ask the windows to close, which could cause modified images to be closed without prompting the user. Now it does, which makes ShowImage more user friendly. Changes to the image view: - Added a member for keeping track of the type of image. This is mostly used in properly updating the window's status bar when the image is changed (flipped, rotated, etc.) This removes some hacky code I added before :) - Removed the status parameter in the Notify method since it was only used for the above image type status updating. - Removed a redundant if in the mouse up handler. - The key down handlers for moving to the next and previous image did not properly prompt the user if the image had changed. I fixed this by sending a message to the window where the prompting code resides. When adding this I also created a few helper methods for sending messages to the window, which removed some (small) repeated code through-out the class. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19994 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a9ab9d2c |
|
19-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Removed "Stippled Zooming" item and made dithering automatic in 8-bit screen mode "Keep Proportions" in resizing window became "Keep Original Proportions", which was suggested by korli and is the best suggestion IMO Bilinear scaling is on by default I like ShowImage's menus now. :^) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19877 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a5360d40 |
|
17-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Usability fixes: Moved Dither Image to the View menu (where it really belongs) Made some menu item labels less technical A couple of capitalization fixes Fixed layout problems in the Resize window git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19852 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0acb8cc4 |
|
17-Dec-2006 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Variable width2 used at wrong place. Image size too small by one when passed to ResizerWindow. Use fractional arithmetic for aspect ratio calculations to avoid rounding errors. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19542 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d9f6762d |
|
17-Dec-2006 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Integrated "resize" feature from Zetas version of ShowImage, however used our bilinear scaler instead of Zetas implementation and made ResizerWindow font sensitive and removed the radio buttons with predefined sizes. Kudos to Bernd Korz for providing the ShowImage Zeta source code under MIT license. Moved menu item "As Desktop Background" into "Image" menu from "View" menu. Removed unused metod ShowImageWindow::Zoom(...). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
252f4767 |
|
12-Dec-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Added some needed stdio.h includes. I don't know what magic was used to compile these for other people, but they wouldn't compile for me when building the app_server test environment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76d115d8 |
|
11-Nov-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Several ShowImage changes: - Changed the hotkey for the zoom to be = instead of + so that no shifting is necessary. - Fixed the bitmap alignment code to solve some problems when zooming. - Removed all references to alignment in the view since the image was already always centered. This greatly simplified the bitmap alignment. - Removed the redundant fScaleX and fScaleY members of the view since they were always the same as fZoom. - Removed all code related to having a border in the view. - Fixed a bug where the type of file would disappear in the status area when zooming (this fix is a little hackish.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19253 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c0b16687 |
|
13-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Now makes sure the window is frontmost when entering full screen mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17819 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e09d5db |
|
25-Apr-2006 |
Ryan Leavengood <leavengood@gmail.com> |
1. Added myself to About box. 2. Fixed bug 537. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17234 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
69eee339 |
|
25-Apr-2006 |
Ryan Leavengood <leavengood@gmail.com> |
More changes to ShowImage: 1. The newly renamed "Flip Sideways" and "Flip Upside Down" have been renamed again to "Flip Left To Right" and "Flip Top To Bottom". This was after some feedback indicating a preference for the new names. 2. When dragging a selection the standard outlined rectangle is used for the dragging image instead of the alpha-blended bitmap of the selected part of the image if the selection rectangle is larger than 400x400 (taking into account scaling of the image.) This mimics the original ShowImage with the exception of the minimum size. The choice of 400x400 was fairly arbitrary. I may see about turning that value into some kind of hidden option. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17229 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61ddc257 |
|
20-Apr-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Fixes to ShowImage: 1. Renamed the Image menu items "Mirror Vertical" and "Mirror Horizontal" to "Flip Sideways" and "Flip Upside Down", respectively. This also involved changing the code to match the new names, for consistency. 2. Fixed a bug where zooming in and out would result in the image moving off center. This was due to the bitmap width and height not being recalculated after applying the zoom factor and therefore throwing off the calculations to find the rect for the center. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17182 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71a34702 |
|
06-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed the resizing bug I accidently introduced with r16260. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16278 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5921f4e2 |
|
07-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Followed Jeromes suggestion and moved the desktop directory lookup to the BackgroundImage::SetDesktopImage() method - if you need more control, you can still easily make _SetImage() public. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16274 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a60adbf9 |
|
07-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a "Set as desktop background" option with an easy to use engine based on the OpenTracker's BackgroundImage implementation. * It's currently placed in the "View" menu, even though it doesn't fit that good, I think it should definitely be part of the right click menu. * Some more cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16273 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
efa8b4f3 |
|
06-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed various issues: * ArgvReceived() did not work with relative paths. * Simplified quitting (no more CanQuit() and overriding BWindow::Quit()). * Updated signature. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16260 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
758b1d0e |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so. * Local variables shadowing parameters. * Default parameters in function definitions (as opposed to function declarations). * All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported explicitly from the std:: namespace now. * "new (sometype)[...]" must read "new sometype[...]", even if sometype is something like "const char *". * __FUNCTION__ is no longer a string literal (but a string expression), i.e. 'printf(__FUNCTION__ ": ...\n")' is invalid code. * A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes" is an invalid expression. * "friend class SomeClass" only works when SomeClass is known before. Otherwise the an inner class with that name is considered as friend. gcc 4 is much pickier about scopes. * gcc 4 is generally stricter with respect to type conversions in C. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc5ca95d |
|
13-Jun-2005 |
Stephan Aßmus <superstippi@gmx.de> |
fixed alignment and image layout, esc exits fullscreen mode, black background for fullscreen, zooming window toggles fullscreen, can still browse even if current image has been deleted, space toggles slideshow, swapped next/previous menu items (more logical) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13101 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5eb50e46 |
|
07-Jan-2005 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Fixed printing related bug. Image was offset by the left, top corner of the printable rectangle. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10606 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0cd4ecd8 |
|
29-Sep-2004 |
Stephan Aßmus <superstippi@gmx.de> |
cosmetical improvements to status view, it also shows the image size now git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d2adccea |
|
18-Feb-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Rotate what? Added degree symbol. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6638 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e9dcd874 |
|
08-Feb-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed calculation of the menu bar height and the position of the views below. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6543 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
134d6076 |
|
20-Jan-2004 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Use Tracker Scripting to find next/previous image. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6203 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a7e78e3b |
|
17-Jan-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
Fixed file saving code so that it is only in one place, (instead of two) and fixed File-->Save As so that it now writes out the type attribute git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6127 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1de41298 |
|
01-Jan-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
Shrunk initial window rectangle so that the scrolling operation performed in fImageView->FlushToLeftTop() will execute properly for certain small images. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5853 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0916ab53 |
|
24-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Adjusted menu bar, scrollbars and view frame so that there are no longer double borders git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5747 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16b663b7 |
|
21-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Disable the Invert menu item for B_CMAP8 bitmaps because they are currently unsupported by the invert algorithm. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7598450e |
|
17-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added initial implementation of Undo for OBOS ShowImage! Now, users can Undo/Redo merge/paste operations. Still need to enhance Undo further so that other operations can be undone, also need to account for image rotations and similar operations. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5693 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16cb4890 |
|
16-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Fixed default window location so that it now appears in the top left corner, like Be's ShowImage. Also, window is now properly aligned to the top left corner when it is zoomed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5678 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
187f0b8a |
|
10-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Fixed bug where the close confirmation would still appear after a changed document was closed git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5640 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
30060f17 |
|
29-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed Full Screen menu item shortcut to Alt-F and added BWindow shortcut for Full Screen using Alt-Enter so that Windows users can use the familar Alt-Enter and Be users will be able to use the familar Alt-F (MoviePlayer, ImageViewer). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5498 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee7b4f39 |
|
28-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added checking for modified document and prompt the user if they try to close a document without saving. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5492 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8fc7138 |
|
25-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Implemented Floyd Steinberg dithering algorithm. - Remembers "orientation" state (rotated, mirrored or inverted) in file attribute of image. - Update recent documents menu every time the menu is opened. - Bug fix and optimization in Filter.cpp. - Moved image manipulation code from ShowImageView.cpp to Filter.cpp. So it can take advantage of multiple CPUs. - Experimental: Write/remove thumbnail to/from file icons. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5480 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c0bc4a2 |
|
22-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Show small icons in recent document menu. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5444 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e427b6a |
|
22-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Made some settings persistent: Slide Show Delay, Scale Bilinear, Shrink/Zoom to Window, Show Caption in Full Screen Mode and PrintOptions. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5441 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c60a8d8c |
|
19-Nov-2003 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Including Clipboard.h could help. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d3046f7d |
|
19-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Made some settings persistent: Slide Show Delay, Scale Bilinear, Shrink/Zoom to Window, Show Caption in Full Screen Mode and PrintOptions persistent. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5415 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
51964605 |
|
18-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Implemented Cut and Paste. Still need to implement Undo and check for a dirty document when the window or app is closed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5414 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
402c09e5 |
|
18-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added code to enable / disable the Edit->Paste menu item when the contents of the clipboard change git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5413 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
19c76de4 |
|
18-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Rewrote bilinear scaling algorithm. The version that uses fixed point calculations is at least two times faster than the version that uses floating point calculations! - Fixed off by one bugs. - Replace "Fit to Window" with "Shrink to Window" and "Zoom to Window". git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5409 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ad30bcf |
|
17-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added code to merge selection with background image; removed Select None item, replaced it with Clear as Select None was behaving like Be ShowImage's Clear anyway; properly enabled/disabled Edit menu items when selection is made or cleared. Still no undo yet, but I'm planning to do that after Paste is implemented. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5403 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bf461dbe |
|
16-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed text for "Rotate Clockwise" and "Rotate Anticlockwise" to "Rotate +90" and "Rotate -90" git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5387 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cb9af89 |
|
15-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed page browsing keyboard shortcuts to make it possible to browse through files and pages without moving any hands. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5383 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
81b9c776 |
|
12-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- scale bilinear (experimental: scaled image is too small by one pixel) - bug fixes git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5347 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
da87390f |
|
12-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Scrolling with mouse wheel - Moving image with third mouse button pressed - Added pop up menu with contents of View menu of menu bar - Center image in full screen mode - Added Select None menu item - To avoid flickering, disabled caption during moving image with mouse- Added key bindings: - Cursor keys: moves image - Enter or space bar: next file - Backspace: previous file - Escape: Stops slide show - SHIFT + first mouse button: simulate third mouse button - CONTROL + first mouse button: simulates second mouse button git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
780d8a62 |
|
10-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added printing support - added zoom in and out - next/previous file sorts directory entries by itself; does not rely on file system - added shortcuts to the first 10 menu items of Go To sub menu git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5299 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6c305411 |
|
09-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added Go To Page submenu so the user can directly go to the page that they want. Also fixed a typo. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6a50d9c |
|
09-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- renamed and restructured menu bar - show dialog box when image can not be opened - added optional caption in full screen mode - moved/removed code from ShowImageApp to ShowImageView git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5289 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d10d5947 |
|
09-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added recent documents sub menu - added resize window to image size when file is opened - added drag and drop selection - added copy selection to clipboard git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ad13f387 |
|
06-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added full screen mode - added dia show - added rotate image clockwise, anti-clockwise, mirror image vertical or -horiztonal and invert image - added myself to about dialog and copyright holders git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5270 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7eca0987 |
|
04-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added option resize image to window size - added show next/previous file using Command + Cursor Up/Down key - rewrote selection code - added marching ants - renamed member variables to start with capital letter after field prefix git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5255 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d592070 |
|
03-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
removed (page x of y) from status text, (page info should come from the identify string of translators that support multiple pages) added a border around the image (like Be's ShowImage has), added disabling of Page menu for single page images git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4218 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
03839579 |
|
02-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added multi-page support (as in OBOS TIFFTranslator). Made many changes to the way the app, window and view objects interface with each other. Still could use some polish. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4216 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cdb89ebb |
|
02-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Change to have a more consistent coding style, eliminated unused / unessecary code, added MIT license notice, prevented image window from closing when a save panel is open, prevented the user from opening multiple save panels for a single image window, etc. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
07caaa8e |
|
02-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Simplified / cleaned up code, fixed close window behavior, changed status view text to show identify string git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4212 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc0a275b |
|
01-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed Save AS sub menu to only show the available destination types for bitmap images, implemented Save As feature git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4181 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
13afa642 |
|
22-Jul-2002 |
Phil Greenway <sikosis@gmail.com> |
Initial Checkin. Coded by Fernando Francisco de Oliveira. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@388 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
58ee42e9df38c59277416ccd2e448c0393947c79 |
|
21-Jul-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
BToolBar: Add a "text" parameter. For defining the text that appears alongside the icon. This function really has too many parameters; we probably should break it out into a BAction class...
|
#
b41cdcb350c3950ab4d8d8b67ce3a7083bd1682c |
|
20-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: reformat lines over 80 chars. * Last commit of the day, I need a vacation!
|
#
9c1f5f4d700c419aff4231794fb74e28ff104bf0 |
|
20-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: improve attributes performance. * Writes the attributes only if they are different or missing. * Thanks Humdinger for point out.
|
#
c1994be81793e18b7b46c03137a6d765d9267c9f |
|
21-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: fixes variables declaration. * Thanks Axel.
|
#
005198d9131084f59b55982eff81de6afb9c982f |
|
21-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Fixes wrong indentation.
|
#
e62a6973498c3cf4861d411da9948beb72bb6ade |
|
21-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Set width and height attributes of the showed image. * Fixes #8745.
|
#
3000afd7b1a6cabe86dfe4280e2d65c3223c378e |
|
13-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Remember save location * Fixes #6766.
|
#
baa27ccb3014be2a95b9dbe62b699efdf0b84dcd |
|
09-Apr-2015 |
Janus <janus2@ymail.com> |
ShowImage: Multipage images displayed in sequence. * The correct page is displayed. * Next/Previous/First/Last page are enabled and disable as Next/Previous File. * Add in the status bar current page/ total page. * Fixes #11959.
|
#
cae52eadaceea0a3be3cbaba24cfb6df250a3039 |
|
07-Apr-2015 |
Janus <janus2@ymail.com> |
Showimage: Add zoom level to StatusBar. * Improve StatusBar graphics (Same style as StyledEdit). * Resize the StatusBar to best fit. * Fixes #7394.
|
#
be63ec85a81119bc21734d0c4dc7f2b150433ed3 |
|
07-Apr-2015 |
Janus <janus2@ymail.com> |
Showimage: Wait for loader threads on exit. * Uses find_thread to wait for loader threads. (better solutions are welcome) * As suggested by Axel the cache isn't static anymore. * Fixes 8902.
|
#
442e457d7b3acabe5824842dd7f8149f933527d1 |
|
05-Apr-2015 |
Gerasim Troeglazov <3dEyes@gmail.com> |
ShowImage: Added toolbar buttons for browsing multipage documents
|
#
60c23976e664661b9d93952ae91d7f83d455a14b |
|
10-Mar-2015 |
Janus <janus2@ymail.com> |
Fix 11898. [ShowImage] Move toolbar buttons near the screen border in fullscreen mode Signed-off-by: John Scipione <jscipione@gmail.com>
|
#
704a3fe2a70fa8850dafc622b94cf6b7f6239a37 |
|
04-Jan-2014 |
Janus <janus2@ymail.com> |
ShowImage: Correct frame size in fullscreen. Signed-off-by: Augustin Cavalier <waddlesplash@gmail.com> Fixes #7590. Thanks!
|
#
94a4c1c4561945d4b8d682cf1fc6d8b6abe3a86e |
|
11-Feb-2015 |
Augustin Cavalier <waddlesplash@gmail.com> |
BToolbar: rename to BToolBar. "BToolBar" matches the current convention ("BStatusBar", "BMenuBar", etc.) I've no idea what I was thinking when I renamed this before... Also adjust all users of BToolBar (Tracker and ShowImage).
|
#
03ad73fc872d7a350989e7bb7dd10b9e2b1e5882 |
|
24-Nov-2014 |
Adrien Destugues <pulkomandy@gmail.com> |
More uses of BMessageFormat ZipOMatic, DiskUsage, MediaConverter, MediaPlayer, ShowImage, WebPositive, Screen preferences, Tracker, string_for_size. Thanks to KapiX for reporting those!
|
#
6d93638b3760112aafca78cea657d7417aef060f |
|
30-Oct-2014 |
Augustin Cavalier <waddlesplash@gmail.com> |
ToolBarView: rename to BToolbar and move to libshared. Also adjust ShowImage for this, it's the only thing that's using ToolBarView right now. Signed-off-by: Jessica Hamilton <jessica.l.hamilton@gmail.com>
|
#
991dadd6324f7b7a68e94743a39ebae789823228 |
|
16-Jun-2014 |
Humdinger <humdingerb@gmail.com> |
Make sure there's a space in front of B_UTF8_ELLIPSIS. As PulkoMandy said in hrev47388: C++11 safe and reads better.
|
#
8073fcbb39da8d098dffaa57589a8ef24910f199 |
|
29-Apr-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
Style fixesStyle fixes.
|
#
554e2073842e023e35e1523fba025f30574fe137 |
|
28-Apr-2014 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
ShowImage: add feature to force original size. * This is enabled by shift+click on the Original Size toolbar button. * The button stays pressed as long as the feature is enabled. Clicking it again disables it. * When this is enabled, all images will be shown at original size, instead of being scaled up or down to fit the window. * This is not persistent, and only affects the current session/window.
|
#
d56476656e1a992b5ea1e8ed1e16e8166dc87807 |
|
20-Jan-2014 |
Humdinger <humdingerb@gmail.com> |
Added menu item "Move to Trash" Changed shortcut of "Show tool bar" to ALT+B. Assigned shortcut ALT+T zu "Move to Trash", having the same as e.g. Tracker and MediaPlayer playlist. DELETE still works as alternative shortcut (if there's an active selection, it will get unselected instead, as before).
|
#
fa392c2a24c12e160de5d29fadf8a4a52deb5804 |
|
05-Mar-2013 |
Ryan Leavengood <leavengood@gmail.com> |
Remove unused ShowImage Undo code.
|
#
956670089702cab586ca0f916a31778bf620880a |
|
01-Dec-2012 |
Janus <janus2@ymail.com> |
Fix7734. Avoid race conditions in ToolBar animation Signed-off-by: Axel Dörfler <axeld@pinc-software.de>
|
#
5df9097a4e143520118717ff002665dcb38061c0 |
|
18-Jan-2013 |
John Scipione <jscipione@gmail.com> |
Use stop alert icon if can't find translator
|
#
7f4d1af49dd1d67ecbf1d934eddd92cae7c4c558 |
|
04-Jan-2013 |
Sergei Reznikov <diver@gelios.net> |
Compilation fixes for x86_64. Added quite a few missing components to image: alert arp bc CortexAddOnHost CDPlayer CharacterMap DeskCalc Devices DiskUsage Expander LaunchBox MediaConverter NetworkStatus PoorMan Pulse Screenshot ShowImage SoundRecorder TV Workspaces DataTranslations Media Printers ScreenSaver BSnow Cortex FontDemo OverlayImage Pairs cddb_daemon midi_server power_daemon print_server print_addon_server Canon LIPS3 Compatible Canon LIPS4 Compatible Gutenprint PCL5 Compatible PCL6 Compatible PDF Writer PS Compatible libgame.so libmedia.so Signed-off-by: Alex Smith <alex@alex-smith.me.uk>
|
#
a8199d692aa28895e7e9a4cbd77121c8879ba4a4 |
|
07-Nov-2012 |
threedeyes <3dEyes@gmail.com> |
Fixed wrong parameters order
|
#
aed35104852941f0f6f3d1dcc5338b5f337d0a3c |
|
05-Aug-2012 |
Humdinger <humdingerb@gmail.com> |
Close alerts with ESCAPE key. Added SetFlags(B_CLOSE_ON_ESCAPE) or SetShortcut(index, B_ESCAPE) to BAlerts depending if the result gets used later in the code, or if it's a one-button BAlert.
|
#
2804cb332fca17a37d42fc3cb10e2255ebddb834 |
|
24-Jun-2012 |
Ryan Leavengood <leavengood@gmail.com> |
Fix off-by-one error which caused scrolling artifacts. Based on printf debugging the correct left value is actually -1, not 0, but instead of hard-coding numbers it makes more sense to use the existing value. I'm not sure if a -1 left value makes much sense, but overall this seems to work and does not have the scrolling artifacts. But overall I think ShowImage needs more layout management. Doing all this moving and resizing manually is error prone. Fixes #8648.
|
#
67eb2a041e44de49f3987a49469fea9b549aae79 |
|
24-Jun-2012 |
Humdinger <humdingerb@gmail.com> |
Reverting hrev44253. Didn't fix the issue, see #8648.
|
#
537a273cced14e2da799ae1e4c3474a9fd74d663 |
|
24-Jun-2012 |
Humdinger <humdingerb@gmail.com> |
Coding style changes, no functional change. Hope all's OK, Filter.h is still mostly untouched as it's quite messy with many exessive commenting.
|
#
6f55e249dfd6e86460037055c524d65fd6e406bd |
|
23-Jun-2012 |
Humdinger <humdingerb@gmail.com> |
Fixed redrawing bug when coming out of fullscreen mode. After coming back from fullscreen mode, horizontally scrolling a zoomed image would draw vertical lines from the right border. Seems like an off-by-one issue. This fixes it in my tests... hope it's properly done.
|
#
546208a53940a26c6379c48a7854ade1a8250fc5 |
|
16-Apr-2012 |
Oliver Tappe <zooey@hirschkaefer.de> |
More catalog-related cleanup. * rename B_TRANSLATE_CONTEXT to B_TRANSLATION_CONTEXT and B_TRANSLATE_WITH_CONTEXT to B_TRANSLATE_CONTEXT, squashing a TODO * adjust all uses of both macros in Haiku's source tree * use correct header guard for collecting/Catalog.h The renamed macros require adjustments to all external applications using catalogs.
|
#
162e5c809120df5ce4efb6bb0f65c50de25a050b |
|
24-Jun-2011 |
Ryan Leavengood <leavengood@gmail.com> |
When the toolbar is hidden by animation it is moved, and so we need to move it back when showing it again but not using animation. Fixes #7734. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@42306 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
48ae3e3808d235e6bea5efdf254eefaff892920d |
|
27-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Followed Ingo's suggestion, and added a BWindow::Layout() method. * Changed ShowImage to use that function. +alpha in case Ingo gives his okay :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41782 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
eaa910c505ebad0449955c62daff9eb954b730f5 |
|
27-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* We obviously need to relayout manually, as it looks like the view is not layouted correctly after the resize. This fixes bug #7577. Ingo, is this the desired behaviour of the layout engine, and if so, what's the rationale behind it? * Removed extraneous FitToBounds() call in ShowImageView::SetHideIdlingCursor(); it doesn't belong there. +alpha git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41772 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4b6dc1bc09fe438992742e03c317a73190bd830c |
|
20-May-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed leftover debug output. +alpha git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41610 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
94fd94986adbcfbc84cde243a338aa3f53a16004 |
|
08-Apr-2011 |
Stephan Aßmus <superstippi@gmx.de> |
* The window uses layout management in principle. This was necessary to get the main menu bar to report the correct minimum size. My previous commit with regards to setting the correct minimum window size introduced a regression that the window could not shrink below it's initial size because of some backwards compatibility behavior of BMenuBar (IIRC). * Inserted a content view to hold the tool bar and the show image views. This one does not use layout management, so that everything pretty much works as before. * Showing/Hiding the tool bar is now animated. * When the tool bar is enabled in principle, it will automatically show in full screen mode when the user moves the mouse. When the mouse is not above the tool bar, it is hidden after a delay. * Added a right-aligned "Leave full screen" icon to the tool bar. * Improved the workings of the slide show icon. As before, it automatically triggers full screen mode. It is now pressed when the slide show is running. Clicking it again just stops the slide show without affecting the full screen mode (i.e. also not when the user left full screen mode meanwhile). There are some problems with images not being automatically sized to the full screen size as would be expected. This needs to be fixed, yet. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41202 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9b13c4181cd61217dbfc6be1a7c03d2b51c99d51 |
|
07-Apr-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Compute window size limits at least with the minimum menu bar and tool bar width taken into account. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41199 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
11c7ff531a01b64773d8a8f0e02c1c7c9f27ca29 |
|
25-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Removing most About windows and menu items as discussed here http://www.freelists.org/post/haiku-commits/r40968-in-haikutrunksrcapps-activitymonitor-bootmanager-charactermap-codycam-deskbar,3 Leaving them for now in replicants, and in Terminal, according to (my interpretation of) the instructions here http://dev.haiku-os.org/browser/haiku/trunk/src/apps/terminal/README.GPL_to_OBOS#L70 Some sporadic cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41108 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
560ff4478d5c85455ea3e5ed5e392ef93132d545 |
|
25-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Use resource definition files instead of DoCatalogs rule. Rename B_TRANSLATE_APP_NAME and related macros to the more generic B_TRANSLATE_SYSTEM_NAME, to also fits add-ons, folders, etc, and make 'System name' its standard context. Change CodyCam and PoorMan's app signatures to match the overall x-vnd.Haiku-App pattern. Some clean-up. Make SlideShowSaver build again. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41103 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cf9f46bc60be5aa95a1e2a42b839d80746d0fbe9 |
|
21-Mar-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Double click now toggles full screen, as in the MediaPlayer. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41069 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a877c0e7d8f6798597df5fbf7e8752bdcb6ddb5a |
|
21-Mar-2011 |
Stephan Aßmus <superstippi@gmx.de> |
* Changed the previous/next icons to the ones intended by zuMi. * Removed the full-screen icon, since the zoom icon of the window already does the job. * Added an icon for the slide show, but it additionally goes into full-screen mode. * Added appropriate work arounds for bugs in the Interface Kit concerning the hiding of tool-tips, and a bug in the app_server concerning the invalidation of unhidden views... git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41065 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cf0d8308180cccbc3e4fd88958ab361a191fa1bc |
|
19-Mar-2011 |
Stephan Aßmus <superstippi@gmx.de> |
* Display a tool bar by default (setting can be toggled in the View menu) * The previous/next, selection mode, zoom actions and full screen mode are accessible via tool bar. * The tool bar can currently not be shown in full screen mode. Eventually, I want it to work like in MediaPlayer when it is generally enabled. * Fixed capitalization "Selection Mode" into "Selection mode" (needs catalogs update for all languages). * When leaving selection mode, clear the selection. Especially with the new tool bar icon, it looked really weird and irritating when the selection persisted. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41055 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71302e7c6dbf98040eb000175a2545d0de63fdc8 |
|
16-Mar-2011 |
Jonas Sundström <jonas@kirilla.com> |
Further localization. Making use of B_TRANSLATE_APP_NAME, AboutWindow. Cleanups. Please review/test changes in Terminal. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40973 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c418e2bedcd5a07ddba0a33b36637fca47411c16 |
|
19-Feb-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Fixed a bug noticed by Axel (thanks!): Don't store the fullscreen window frame when quitting ShowImage in fullscreen mode, but the old window frame instead which would be restored when leaving fullscreen more. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40561 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5b76e505e566ce5eeff43dea561e94f787a230e6 |
|
19-Feb-2011 |
Stephan Aßmus <superstippi@gmx.de> |
Two unrelated features mangled into one commit: * Added a Rating menu to the ShowImage window, to easily give the current image a rating (uses same attribute as other types of media, i.e. MediaPlayer). * ShowImage no longer tries to adapt the window size of newly opened windows to the image that is loaded into them. I've found that the most annoying ShowImage misbehavior. I don't know why this was thought to be a good idea, maybe it was useful in BeOS presentations when you select 20 images in a folder and make them pop up all at once. I however use ShowImage mainly to view at fotos, all of which are larger than my screen, so ShowImage would basically _aÃlways_cover up everything, even though there is the fullscreen mode for that. Now, ShowImage remembers the last used window position, new windows will open at an offset. In another words, you can now have a Tracker folder of images open, view one, close the window, view another, ShowImage will open at the previous location, all very convenient and expected. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40556 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4aa636331fa38f0756b862567fe93e321de6e234 |
|
09-Jan-2011 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the slide show code from ShowImageView, and reimplemented them in ShowImageWindow using a BMessageRunner. * Note, this is completely untested, as it turns out my Haiku installation on this box is too old to run it. It compiles, at least, and shouldn't break anything else. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40178 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
9617074c9beb69fd9c356fe065731b83c72e15a0 |
|
28-Dec-2010 |
Ryan Leavengood <leavengood@gmail.com> |
CID 5273: Don't hide the message parameter with a local variable. Not critical but good coding practice. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40009 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
df942b3eb1d49d2928d957f9adaf282cdb4be665 |
|
18-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Always make sure the reference to the bitmap is actually released. This should fix bug #6824. * Don't queue more pictures if we can only use a single CPU, and the queue is already busy. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39486 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e2069723097dcded429323414605cd250207d2c0 |
|
14-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the "shrink to window" option. Instead, there is now a "Fit to window" menu item that just does that. Additionally, the image is always fit to the window size when first shown, or if the full screen mode switches. That also fixes #6765, and #6810. * The ImageCache now also passes a referenced BitmapOwner object, and bitmaps are now actually freed when it's allowed to. * Pressing the zoom button will cause ShowImage to enter full screen again. For some reason this has been removed as part of r19540. * The progress window is now visible again, although not that often, as you will only see it for images that were not in the queue already. The window is now known to the ShowImageWindow instead of the ShowImageView. * Moved most constants out of ShowImageConstants.h to where they belong. * Dropping an image now opens it in another window. * Removed EntryMenuItem as it's no longer used anywhere. * Minor other cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39431 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a569816bb0b823227e8ce2e24c84a9566ef22c63 |
|
09-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented preloading of the images around he current one; always two in the direction of the current navigation, and one in the opposite direction. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39377 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b9767a83ed31ef0a0c8f7db0a6ec032f2ce82e7e |
|
08-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* The ImageFileNavigator is now only for navigation, it doesn't load any images anymore. * Moved the new ImageCache into its own source file. * The cache is now used within ShowImage. There is no read-ahead caching being done yet, though, but you can quickly return to previous images, and you can also skip images faster than before. * Improved separation between the ShowImageStatusView and the rest; ShowImageWindow no longer has a getter for the image view. * The status view is now using the private BDirMenu which implements enhancement ticket #6778. * Made a few more methods private/protected in ShowImageWindow. * Fixed bug #6797. * The bitmap is currently only owned by the ImageCache, but we need to have a separate referenceable object owning it. Added a TODO comment for this. * The ProgressWindow is currently not being used anymore, added a TODO comment for this as well. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39364 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
328932ac9edb30c87a3928b6d2a21b126bcaa3d4 |
|
05-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Work in progress on implementing asynchronous image retrieval with a read-ahead cache. Not yet done or used. * Added deleting images via delete key again. The only difference to before is that it will open the previous image if the last image in a folder was removed, and only close ShowImage if there is no image left. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ba3217eee8fd8e9db38d873d8c0d0225917d681f |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Moved the Tracker navigation logic into its own class, TrackerNavigation. * Added a new class FolderNavigation that implements the same for folders without a Tracker window. * ImageFileNavigator is now using either one depending on whether it got a valid tracker messenger. * Removed some unused/unneeded methods. * Made entry_ref a reference at some more methods, as it's not really optional. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39292 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2281340d02668882976dad92aab12940888ec692 |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Renamed _LoadSettings() to _ApplySettings(). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39287 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
36272f0d4c9b16e96dc8c89552f8f155dbaa9cc9 |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the home-brewn recent menu, and just uses the one libtracker.so provides instead. * This also fixes bug #6774. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39285 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
01939af66916d517f7ba8cfd7f3c8eeba55d95e3 |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Quit() in the constructor does not work as one might expect. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39284 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ddcb5a2cdaf84f49f57c6450dc7ca186547fb45a |
|
03-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Reverted Rene's fix for the broken build - it's no longer necessary. Thank you for cleaning up behind me! * Fixed bug #6771 by adding the shift key to the page shortcuts. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39282 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b1534fc0e8dc4009b0080e8b7c7241c4d03d2eb6 |
|
01-Nov-2010 |
Rene Gollent <anevilyak@gmail.com> |
Build fixes mostly due to usage of a translation macro that isn't (currently) available in the source tree. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39267 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
04f965443f1a5792f4f397fb870bbb03303aba3d |
|
01-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed resizing ability. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39262 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cd6b5cde06b9cc9ab9e5aacf03cda9dc853c34e4 |
|
01-Nov-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Completed stippi's work on the ImageFileNavigator. * ShowImageWindow is now using such a navigator. * Removed navigation support from ShowImageView. * Prepared everything to support asynchronous image loading (which is not yet implemented, though). * Note, this commit brings some regressions I intend to fix in the next few days, namely deleting files won't work anymore, and dropping images onto ShowImage. There might be more I don't know about, though :-) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39259 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6db01936fe4d1635ff2deb07ce5890a00613ee06 |
|
24-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a selection mode that can currently only be enabled via the menu (should be part of an optional tool bar in the future). Now the primary, and the tertiary mouse button pan the image. You still get the selection when using alt or ctrl and the primary mouse button, even outside of the selection mode. In selection mode, the primary button changes the selection. * Renamed {Shrink|Stretch}ToBounds() to comply to our coding style, thanks Ingo. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39132 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4fd570d3077a142a11ceac82e4f2230fffd3e5c6 |
|
24-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Fixed another pet peeve of mine: you can now always zoom, no matter if you have enabled the shrink/stretch option. * Renamed "zoom to window" to "stretch to window". * Readded the shrink/stretch options to the full screen context menu only. * Renamed GetShrinkToBounds() to ShrinkToBounds() as it's a simple getter. * Changed how and when the shrink/stretch options come into play. Shrinking is now only set once, when the image is first shown. * Added snapping in ZoomIn(), and ZoomOut(): they will now always choose 1.0, and the "fit to window" zoom level when they are close. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39129 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
32c2214392fe93bfdb98ebffa54397fefbdd4abe |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* The shrink/zoom to window options aren't available anymore from the context menu. I plan to allow zooming always, so they won't be needed that often anymore. * Removed all selection copy/move/cut code. This just doesn't belong into an image viewer. * Selections are now changed using the tertiary mouse button, or when you press the command or control modifiers. Instead, the image will now be moved around with the left button. * If you drop an image file to ShowImage, it will now open it instead of pasting it as selection. * Reworked the scrolling/selection code to never poll, and never use GetMouse(). Instead properly use the asynchronous API (ie. B_NO_POINTER_HISTORY). * I plan to remove the scaling code as well: the results aren't as good as they could be (bilinear scaling isn't the solution for everything), and the interface is pretty awkward, anyway. IMO, this kind of functionality should be left to apps that are actually thought for image editing. Another solution would be a Tracker add-on that resizes (multiple) images. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39105 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d164619e7441dd8fb52049bb2a8e4012cf09f493 |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the delayed scaler code - it's no longer needed (and was trying rather stupid things like creating a 50000x40000 pixel bitmap if you zoomed in). * Removed dithering in CMAP8 mode. Please use 32 bit mode instead :-) * Cleaned up ShowImageWindow.h. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39098 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1076d97b5a24d203f87ddcb4f16d1310c06a8856 |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Removed the ability to invert an image. If you really need that feature, you'll now have to open an image editing application instead. * Removed the black border around the image. * Removed the B_PANEL_BACKGROUND_COLOR background in non-full screen mode - it's now always black. * Made zoom level changes exponential. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39095 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6046b973b67a81738cbefe3c4328a9c870742eb2 |
|
23-Oct-2010 |
Axel Dörfler <axeld@pinc-software.de> |
* Implemented zooming to the current mouse position. Thanks to stippi for the invalidate trick to prevent the app_server to scroll. * Minor cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39079 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
36c176518ba399477369bc6a24a85ca4f6726b51 |
|
12-May-2010 |
Ryan Leavengood <leavengood@gmail.com> |
Fix #5810 by disabling the Go to page sub-menu under Browse when there is only one page. Also a small refactor of a variable name in that area. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36798 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
4eb0cbb044cf538f18c0d252934a5bcaa33bfd34 |
|
07-May-2010 |
Matt Madia <mattmadia@gmail.com> |
Updated TR_CONTEXT to be B_TRANSLATE_CONTEXT, relating to #5408. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36733 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
905c8c8c8accfb3a4cffced18f34f0d219a37d59 |
|
06-May-2010 |
Matt Madia <mattmadia@gmail.com> |
Updated to use B_TRANSLATE* macros. relates to #5408. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@36673 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1ed4535f34076e9bba9ac8d3be534a96371def58 |
|
22-Mar-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by mt. Localization and conversion to use the layout API with coding style fixes along the way. Thanks a lot! Fixes #5563. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35929 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7974d3dcf39ce78e5885b481eee12e561ad6e096 |
|
13-Jan-2010 |
Stephan Aßmus <superstippi@gmx.de> |
Patch by Humdinger: Updated Haiku apps to use sentence-case. What a huge undertaking... The files where I had to apply the patch manually (for mysterious reasons) have also gotten a whitespace cleanup. I've proof-read everything so hopefully there should be no problems. This should be the final part of #5169. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@35049 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f75975a90787e3b9b4d72385184dd3b886ac8bfa |
|
22-Nov-2009 |
Philippe Saint-Pierre <stpere@gmail.com> |
ShowImage : * Changing pictures using the arrow keys while being in a picture folder in tracker would quit the fullscreen mode (if you happen to be in that mode) because it tries to resize the window to fit the new picture. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34194 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
29c4d5a9836a33ae8291ff6a65d5eda0ac181c58 |
|
18-Aug-2009 |
Philippe Saint-Pierre <stpere@gmail.com> |
ShowImage: Using the up and down arrow to change images from a tracker folder, and loading an image bigger than the current window size didn't get the window enlarged. exceptions: the window doesn't get resized by this mean if you check the Shrink to window or Zoom to window settings. Fixes ticket #4273. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32502 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0a74004c6e4f9d9fb2040b63a6ab913820966f1f |
|
15-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
- Added back code for scrolling with the cursor keys, this time only when Shift is pressed. - Took Humdinger's excellent advice from #4190 to open the Backgrounds preferences from ShowImage instead of setting the background manually. This required some tweaks to the Backgrounds preferences to accept RefsReceived in the application and forward that to the view. In addition the placement is set to scaled since otherwise it will keep the old placement. How this is done is sort of hacky, but I'm going to call it an "internal protocol." This also allowed me to remove the BackgroundImage code from ShowImage which was just copied from Tracker (yuck.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32424 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
037e5cee4829aba31914a39548418a7a435d8439 |
|
14-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
Implemented pretty much all of #4190. The Enter key was actually already set as a shortcut for fullscreen, but I guess the view was processing it first. So I just removed B_ENTER as an option for next image. Also Shift plus primary mouse was already working for moving the image. Also I know it was discussed at length but I still wonder if all these options for next and previous image are overkill. Now there is no way to scroll with the keyboard. And there isn't an easy way to go to the next image with the mouse (menus are a pain.) So I still think some more UI tweaking is needed to avoid constant shifting between mouse and keyboard. Finally I also added Command-1 as a shortcut for Original Size, but it does not work. Anyone know why? git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32343 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fd952aef9b43f8631cd97afc27d12b261d68a917 |
|
13-Aug-2009 |
Ryan Leavengood <leavengood@gmail.com> |
Started cleaning up these monsters: - Add underscore to private methods. - Use class member initializer syntax. - Make sure all class members are initialized, use same order as headers. - Header reordering. - A few other small things. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32342 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c1a10c140cda005384730ffea66caedec5a3b2c4 |
|
02-Oct-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* fix mem leak git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27856 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6163f3334b7eb76635e1e6632a17315c7ba40b9b |
|
25-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* some more cleanup * pass the target directly to AddItemMenu * use default paramter to enable the menu item * fixed messenger leaks for file panel and resizer window messenger * show the job config panel when the 'Print' menu item is invoked + shortcut git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27204 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
56b0c7b90d36259a7b4c0a55d9be49ccb8aeaed6 |
|
25-Aug-2008 |
Karsten Heimrich <host.haiku@gmx.de> |
* cleanup, no functional change git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@27201 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3177ae7785dfecd8c95ff446b927d63cbededdab |
|
22-Nov-2007 |
Stefano Ceccherini <stefano.ceccherini@gmail.com> |
small cleanup at the code I looked at git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@22979 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ebaed93917616466b6416e9f56346b5e6b8ca28d |
|
30-Jan-2007 |
Ryan Leavengood <leavengood@gmail.com> |
We now disable the "Resize..." menu item when a slideshow is started. Not a huge deal but it doesn't make much sense to resize images during a slideshow. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20020 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8f5fd23f6012a9852853f83b61d9236184b8f412 |
|
29-Jan-2007 |
Ryan Leavengood <leavengood@gmail.com> |
The size of the selection rectangle is now shown in the status bar. Useful for cropping an image to a certain size or taking similar sized croppings from various images (as I need to do.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20012 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
880be3310db507c2aa34f93c86a450d590044638 |
|
28-Jan-2007 |
Ryan Leavengood <leavengood@gmail.com> |
General changes: - Fixed some formatting in the recently added resizing code. - Changed the operation name for rotating counterclockwise to use that name instead of anticlockwise. This makes the code consistent with the GUI. - Reformatted the constants header to use an enum. Also removed the empty constants cpp file. - The QuitRequested handler in the app did not ask the windows to close, which could cause modified images to be closed without prompting the user. Now it does, which makes ShowImage more user friendly. Changes to the image view: - Added a member for keeping track of the type of image. This is mostly used in properly updating the window's status bar when the image is changed (flipped, rotated, etc.) This removes some hacky code I added before :) - Removed the status parameter in the Notify method since it was only used for the above image type status updating. - Removed a redundant if in the mouse up handler. - The key down handlers for moving to the next and previous image did not properly prompt the user if the image had changed. I fixed this by sending a message to the window where the prompting code resides. When adding this I also created a few helper methods for sending messages to the window, which removed some (small) repeated code through-out the class. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19994 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a9ab9d2c21ecd68f419ea16be2ca6bd708303e19 |
|
19-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Removed "Stippled Zooming" item and made dithering automatic in 8-bit screen mode "Keep Proportions" in resizing window became "Keep Original Proportions", which was suggested by korli and is the best suggestion IMO Bilinear scaling is on by default I like ShowImage's menus now. :^) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19877 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a5360d40c6b11765dce11c50ae8de930c40cf921 |
|
17-Jan-2007 |
DarkWyrm <darkwyrm@gmail.com> |
Usability fixes: Moved Dither Image to the View menu (where it really belongs) Made some menu item labels less technical A couple of capitalization fixes Fixed layout problems in the Resize window git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19852 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0acb8cc41c3ec7d09e109cf18e7519285be4781d |
|
17-Dec-2006 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Variable width2 used at wrong place. Image size too small by one when passed to ResizerWindow. Use fractional arithmetic for aspect ratio calculations to avoid rounding errors. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19542 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d9f6762d46c0e7c25d011460bef442ec2d00bfe9 |
|
17-Dec-2006 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Integrated "resize" feature from Zetas version of ShowImage, however used our bilinear scaler instead of Zetas implementation and made ResizerWindow font sensitive and removed the radio buttons with predefined sizes. Kudos to Bernd Korz for providing the ShowImage Zeta source code under MIT license. Moved menu item "As Desktop Background" into "Image" menu from "View" menu. Removed unused metod ShowImageWindow::Zoom(...). git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19540 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
252f4767828ef4564f9fcedca981234e26e7bd32 |
|
12-Dec-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Added some needed stdio.h includes. I don't know what magic was used to compile these for other people, but they wouldn't compile for me when building the app_server test environment. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19479 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
76d115d893d4a65d805d648778b9d1bf46ebc4d0 |
|
11-Nov-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Several ShowImage changes: - Changed the hotkey for the zoom to be = instead of + so that no shifting is necessary. - Fixed the bitmap alignment code to solve some problems when zooming. - Removed all references to alignment in the view since the image was already always centered. This greatly simplified the bitmap alignment. - Removed the redundant fScaleX and fScaleY members of the view since they were always the same as fZoom. - Removed all code related to having a border in the view. - Fixed a bug where the type of file would disappear in the status area when zooming (this fix is a little hackish.) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19253 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c0b16687981464ca70e0fff75ba069cdd29174fd |
|
13-Jun-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Now makes sure the window is frontmost when entering full screen mode. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17819 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e09d5dbe5f6567e3324521a2b0e818e6827f5eb |
|
25-Apr-2006 |
Ryan Leavengood <leavengood@gmail.com> |
1. Added myself to About box. 2. Fixed bug 537. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17234 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
69eee339bad0aed4b9c4a99226a2cc0f64fb8513 |
|
25-Apr-2006 |
Ryan Leavengood <leavengood@gmail.com> |
More changes to ShowImage: 1. The newly renamed "Flip Sideways" and "Flip Upside Down" have been renamed again to "Flip Left To Right" and "Flip Top To Bottom". This was after some feedback indicating a preference for the new names. 2. When dragging a selection the standard outlined rectangle is used for the dragging image instead of the alpha-blended bitmap of the selected part of the image if the selection rectangle is larger than 400x400 (taking into account scaling of the image.) This mimics the original ShowImage with the exception of the minimum size. The choice of 400x400 was fairly arbitrary. I may see about turning that value into some kind of hidden option. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17229 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
61ddc257d2349c0b83abfad8da467c582939f657 |
|
20-Apr-2006 |
Ryan Leavengood <leavengood@gmail.com> |
Fixes to ShowImage: 1. Renamed the Image menu items "Mirror Vertical" and "Mirror Horizontal" to "Flip Sideways" and "Flip Upside Down", respectively. This also involved changing the code to match the new names, for consistency. 2. Fixed a bug where zooming in and out would result in the image moving off center. This was due to the bitmap width and height not being recalculated after applying the zoom factor and therefore throwing off the calculations to find the rect for the center. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17182 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
71a34702d392526144b98b31f91368a9539cc9f0 |
|
06-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed the resizing bug I accidently introduced with r16260. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16278 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5921f4e2f17e6321c51cb8c026ea78326cd4558c |
|
07-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Followed Jeromes suggestion and moved the desktop directory lookup to the BackgroundImage::SetDesktopImage() method - if you need more control, you can still easily make _SetImage() public. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16274 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a60adbf9b400d4f8d586c3acb7ff34034e89fb6d |
|
07-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
* Added a "Set as desktop background" option with an easy to use engine based on the OpenTracker's BackgroundImage implementation. * It's currently placed in the "View" menu, even though it doesn't fit that good, I think it should definitely be part of the right click menu. * Some more cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16273 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
efa8b4f3922f0ff26c80078e6d51ebe52cba9735 |
|
06-Feb-2006 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed various issues: * ArgvReceived() did not work with relative paths. * Simplified quitting (no more CanQuit() and overriding BWindow::Quit()). * Updated signature. * Cleanup. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@16260 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
758b1d0e05fe1042cce6e00d194a147802d4f9be |
|
12-Nov-2005 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Fixes that make Haiku build with gcc 4. Mainly out of the following categories: * Missing includes (like <stdlib.h> and <string.h>). * Linking against $(TARGET_LIBSTDC++) instead of libstdc++.r4.so. * Local variables shadowing parameters. * Default parameters in function definitions (as opposed to function declarations). * All C++ stuff (nothrow, map, set, vector, min, max,...) must be imported explicitly from the std:: namespace now. * "new (sometype)[...]" must read "new sometype[...]", even if sometype is something like "const char *". * __FUNCTION__ is no longer a string literal (but a string expression), i.e. 'printf(__FUNCTION__ ": ...\n")' is invalid code. * A type cast results in a non-lvalue. E.g. "(char *)buffer += bytes" is an invalid expression. * "friend class SomeClass" only works when SomeClass is known before. Otherwise the an inner class with that name is considered as friend. gcc 4 is much pickier about scopes. * gcc 4 is generally stricter with respect to type conversions in C. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14878 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc5ca95d01199ef05e072a79ce4bfe827736f097 |
|
13-Jun-2005 |
Stephan Aßmus <superstippi@gmx.de> |
fixed alignment and image layout, esc exits fullscreen mode, black background for fullscreen, zooming window toggles fullscreen, can still browse even if current image has been deleted, space toggles slideshow, swapped next/previous menu items (more logical) git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13101 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5eb50e46894d30235b96c4ba749716d9c04f2d90 |
|
07-Jan-2005 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Fixed printing related bug. Image was offset by the left, top corner of the printable rectangle. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@10606 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0cd4ecd8b24054bb29c3fa5a1ebec590eae3823f |
|
29-Sep-2004 |
Stephan Aßmus <superstippi@gmx.de> |
cosmetical improvements to status view, it also shows the image size now git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9113 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d2adccea1972b182ec5d50e12a74b306468e548a |
|
18-Feb-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Rotate what? Added degree symbol. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6638 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e9dcd87490222bb5d363954ea58914c2f9a16f49 |
|
08-Feb-2004 |
Axel Dörfler <axeld@pinc-software.de> |
Fixed calculation of the menu bar height and the position of the views below. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6543 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
134d60764764350d5bf693fcbbc49b190426a4ca |
|
20-Jan-2004 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Use Tracker Scripting to find next/previous image. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6203 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a7e78e3b64b9c5f1e1b9d7f9be76c5603e687ffe |
|
17-Jan-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
Fixed file saving code so that it is only in one place, (instead of two) and fixed File-->Save As so that it now writes out the type attribute git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6127 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1de41298872a874b197d0f3654c4a4349c88190d |
|
01-Jan-2004 |
Matthew Wilber <mwilber@nowhere.fake> |
Shrunk initial window rectangle so that the scrolling operation performed in fImageView->FlushToLeftTop() will execute properly for certain small images. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5853 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
0916ab535dae1e2f30ee667e3719a4b056c89bff |
|
24-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Adjusted menu bar, scrollbars and view frame so that there are no longer double borders git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5747 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16b663b7ab8f67aa5cf200f07cc411abdb7f38c0 |
|
21-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Disable the Invert menu item for B_CMAP8 bitmaps because they are currently unsupported by the invert algorithm. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5721 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7598450e4ffd3795068179c052df63e286bb3d6b |
|
17-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added initial implementation of Undo for OBOS ShowImage! Now, users can Undo/Redo merge/paste operations. Still need to enhance Undo further so that other operations can be undone, also need to account for image rotations and similar operations. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5693 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
16cb489052e62d4d0dddd580c681315ab094f00b |
|
16-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Fixed default window location so that it now appears in the top left corner, like Be's ShowImage. Also, window is now properly aligned to the top left corner when it is zoomed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5678 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
187f0b8a33decfd94cddca04927207af935116b1 |
|
10-Dec-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Fixed bug where the close confirmation would still appear after a changed document was closed git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5640 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
30060f173ae6a66c1471763b2d8f5c1df37fa7a5 |
|
29-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed Full Screen menu item shortcut to Alt-F and added BWindow shortcut for Full Screen using Alt-Enter so that Windows users can use the familar Alt-Enter and Be users will be able to use the familar Alt-F (MoviePlayer, ImageViewer). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5498 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ee7b4f3983532ed5f378e33740e3c00458a4fc5c |
|
28-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added checking for modified document and prompt the user if they try to close a document without saving. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5492 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8fc713847bb28899eca54d19c581895ec324edd |
|
25-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Implemented Floyd Steinberg dithering algorithm. - Remembers "orientation" state (rotated, mirrored or inverted) in file attribute of image. - Update recent documents menu every time the menu is opened. - Bug fix and optimization in Filter.cpp. - Moved image manipulation code from ShowImageView.cpp to Filter.cpp. So it can take advantage of multiple CPUs. - Experimental: Write/remove thumbnail to/from file icons. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5480 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7c0bc4a231a41154fddf60a1f2e98e40a232d050 |
|
22-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
Show small icons in recent document menu. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5444 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
5e427b6a8516ef2ffa0832e70509a5201c2e7d23 |
|
22-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Made some settings persistent: Slide Show Delay, Scale Bilinear, Shrink/Zoom to Window, Show Caption in Full Screen Mode and PrintOptions. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5441 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
c60a8d8cbbbea01ecc37946cb2886b759b720576 |
|
19-Nov-2003 |
Philippe Houdoin <philippe.houdoin@gmail.com> |
Including Clipboard.h could help. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5419 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d3046f7d46f0a7e9ceb022b01d62975abfea2b5d |
|
19-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Made some settings persistent: Slide Show Delay, Scale Bilinear, Shrink/Zoom to Window, Show Caption in Full Screen Mode and PrintOptions persistent. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5415 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
51964605395a94495df18178d79dba445a3712ad |
|
18-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Implemented Cut and Paste. Still need to implement Undo and check for a dirty document when the window or app is closed. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5414 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
402c09e582a3ffb8e1e51cebc473f3e02256ea2f |
|
18-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added code to enable / disable the Edit->Paste menu item when the contents of the clipboard change git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5413 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
19c76de4a069cc23e43426e2c32487732979d9ba |
|
18-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Rewrote bilinear scaling algorithm. The version that uses fixed point calculations is at least two times faster than the version that uses floating point calculations! - Fixed off by one bugs. - Replace "Fit to Window" with "Shrink to Window" and "Zoom to Window". git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5409 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
8ad30bcf80e66eadbe0e98554f9ed8dc7a859283 |
|
17-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added code to merge selection with background image; removed Select None item, replaced it with Clear as Select None was behaving like Be ShowImage's Clear anyway; properly enabled/disabled Edit menu items when selection is made or cleared. Still no undo yet, but I'm planning to do that after Paste is implemented. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5403 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
bf461dbeb40cc5a6bdb5fa3c404d5848b3857b02 |
|
16-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed text for "Rotate Clockwise" and "Rotate Anticlockwise" to "Rotate +90" and "Rotate -90" git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5387 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2cb9af89a496ba99dc1f5404b43a782e8ac76672 |
|
15-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed page browsing keyboard shortcuts to make it possible to browse through files and pages without moving any hands. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5383 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
81b9c776915e9da688dafc4f9097b9213d0be364 |
|
12-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- scale bilinear (experimental: scaled image is too small by one pixel) - bug fixes git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5347 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
da87390fc5001d74e5bfe1c9587de7d23f2566c4 |
|
12-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- Scrolling with mouse wheel - Moving image with third mouse button pressed - Added pop up menu with contents of View menu of menu bar - Center image in full screen mode - Added Select None menu item - To avoid flickering, disabled caption during moving image with mouse- Added key bindings: - Cursor keys: moves image - Enter or space bar: next file - Backspace: previous file - Escape: Stops slide show - SHIFT + first mouse button: simulate third mouse button - CONTROL + first mouse button: simulates second mouse button git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5322 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
780d8a62d70f1d6cfd6f757f2e87730bece08615 |
|
10-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added printing support - added zoom in and out - next/previous file sorts directory entries by itself; does not rely on file system - added shortcuts to the first 10 menu items of Go To sub menu git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5299 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
6c3054116ed26f244b826d3bd4e06f5c651a44ca |
|
09-Nov-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added Go To Page submenu so the user can directly go to the page that they want. Also fixed a typo. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5290 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
e6a50d9c7b2b53940115b9202f114eca5e6cf6d8 |
|
09-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- renamed and restructured menu bar - show dialog box when image can not be opened - added optional caption in full screen mode - moved/removed code from ShowImageApp to ShowImageView git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5289 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
d10d59475c9216c2d639424014cefcf98bde7271 |
|
09-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added recent documents sub menu - added resize window to image size when file is opened - added drag and drop selection - added copy selection to clipboard git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5288 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
ad13f387f9a6989fa4ef067983a51b2d6af8f6e1 |
|
06-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added full screen mode - added dia show - added rotate image clockwise, anti-clockwise, mirror image vertical or -horiztonal and invert image - added myself to about dialog and copyright holders git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5270 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
7eca09874bd34b14ac63e3f28ec455fab810cc77 |
|
04-Nov-2003 |
Michael Pfeiffer <michael.w.pfeiffer@gmail.com> |
- added option resize image to window size - added show next/previous file using Command + Cursor Up/Down key - rewrote selection code - added marching ants - renamed member variables to start with capital letter after field prefix git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5255 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1d5920700ff1ad48ae474a00a3224c0d09bfb950 |
|
03-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
removed (page x of y) from status text, (page info should come from the identify string of translators that support multiple pages) added a border around the image (like Be's ShowImage has), added disabling of Page menu for single page images git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4218 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
03839579020b2f3c91671fbaa4abf7d260624935 |
|
02-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Added multi-page support (as in OBOS TIFFTranslator). Made many changes to the way the app, window and view objects interface with each other. Still could use some polish. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4216 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
cdb89ebbeb5e8a69e54dee9b3daad63f77d9f782 |
|
02-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Change to have a more consistent coding style, eliminated unused / unessecary code, added MIT license notice, prevented image window from closing when a save panel is open, prevented the user from opening multiple save panels for a single image window, etc. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4214 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
07caaa8e88f971a4d184d6b1bf1c14768821e8bb |
|
02-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Simplified / cleaned up code, fixed close window behavior, changed status view text to show identify string git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4212 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
fc0a275bdd0246b215b101de5a599172cc2d8ffb |
|
01-Aug-2003 |
Matthew Wilber <mwilber@nowhere.fake> |
Changed Save AS sub menu to only show the available destination types for bitmap images, implemented Save As feature git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4181 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
13afa64231695bfa50edd375d99fa850ece3a156 |
|
22-Jul-2002 |
Phil Greenway <sikosis@gmail.com> |
Initial Checkin. Coded by Fernando Francisco de Oliveira. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@388 a95241bf-73f2-0310-859d-f6bbb57e9c96
|