Commits (13)
-
Robert Sprowson authored
Fix abort when sorting the sprites by name and one or more sprite viewers are open, also massively simplified it since the copying around of main_sprite blocks was pointless - much simpler to just rejoin the linked list leaving the data in place. *Tidy up Delete awk.*, change to use central 'AwkVers' script. Delete h.types. Delete h.Paint, it's a duplicate of h.main. Delete writepixel, swap to using the one in RISCOS_Lib Retire 'h.fixes', switches collapsed, bugfixes proven after 18 years use. Cast away some warnings. Sprinkled in some consts, moved pointer qualifiers to get syntax colouring right. Remove local SWI defines, read from <swis.h> now. !MkInstall now installs into <Install$Dir>.Apps *Little UI changes Make the colour number in the colour picker be in the right place vertically and correct horizontal position of 'T' and 'E' for ECFs. In the create new sprite dialogue box the 32k and 16M options are shaded when a palette is requested, this avoids the problem of selecting a deep colour mode (which trapped the radio icon in a shaded paletted selection). The 'Selection' menu is now shaded when there are zero sprites in the file *Sprite filer Fix tiled main window fill to work in EX0 modes and not overwrite in EX2 modes (was using the sprite's mode word not the current mode to deduce eigen factors), leading to odd chequer board areas not being redrawn. Refactored main_clear_background() to use stronger typing of RISC_OSLib rather than _swix where possible. A failure to get the Wimp pixel translation table now falls back to solid fill Double clicking on a sprite in the sprite file window no longer leaves it selected, to mimic the filer. Set DISPLAY_MARGIN to 0 to counter for the recent increase from 32 to 40 of main_FILER_TextHeight Added 'Sort by size' after 'Sort by name' Version 2.02. Tagged as 'Paint-2_02'
52984de9 -
Robert Sprowson authored
Spurious ';' after an if at line 2386 of c.Main deleted, something to do with scroll wheel support. Untested. Refer to FileType_ using the filetypes header file. Internationalised "Selection" when saving a sprite selection. main_save_selection wasn't checking if fwrite() worked so never reported 'disc full'. Turn on egg timer during main_save_selection(). Fix (de)selection bug when in full sprite info view, the 'spritesperrow' was being rounded down to zero, and unlike everywhere else it wasn't being adjusted back to a minimum of 1. Version 2.03. Tagged as 'Paint-2_03'
cba6e241 -
Robert Sprowson authored2c57b174
-
Robert Sprowson authoredaf6ac588
-
Robert Sprowson authored
No functional changes, but it's now a consistent ball of spaghetti.
f11f2074 -
Robert Sprowson authored
Function main_icon_bboxes() reordered to only call the SWIs it needs to fulfil the requested information. Version 2.04. Tagged as 'Paint-2_04'
a42c3c38 -
Robert Sprowson authored
Allows better sharing when !Draw is also in ROM. Fix long (long) standing bug of not being able to drag JPEGs into !Paint using the RAM transfer protocol - some dubious pointer arithmetic meant the wrong address of JPEG data was used and so gave an error. The 3 paths that result in a JPEG->Sprite conversion now share code too. Remove local definition of FileType_JPEG, use that in the exports. Version 2.05. Tagged as 'Paint-2_05'
e5100890 -
Robert Sprowson authored
Not tested, not tagged.
a0724eed -
Robert Sprowson authored
The use of DragASprite tended to cause an abort somewhere in the kernel's sprite handling code for some reason, changed this to instead create a temporary WIMP icon on the sprite filer in question which can than be referred to in a normal call to xfersend(). The rest of the save is then handled by the normal xfersend() handlers and the temporary icon destroyed since the WIMP takes a copy anyway. Has the extra benefits * Dragging from the sprite filer now obeys the 'solid drag' flags. * Dragging from the sprite filer no longer crashes if dropping back on the originating filer window itself. When dragging a selection from the filer the selection is cleared at the end of the drag, to match the behaviour of the desktop filer. When saving a selection from the 'Selection' menu, they are not deselected. Changed to use the 'package' icon when dragging multiple sprites, or file_ff9 for singles. Version 2.06. Tagged as 'Paint-2_06'
97539240 -
Robert Sprowson authored
Retagged as Paint-2_06.
ecdac85b -
Robert Sprowson authored
Previously, the help requests would end up in the background event handler which didn't look at the window handle and would just return "This is paint" even if the handle was that of the colour picker dialogue. Also now passes documented 0x80000000 and 0x7FFFFFFF on opening rather than zero. Version 2.07. Tagged as 'Paint-2_07'
ee21e95d -
Jeffrey Lee authored
Detail: c/Main - Previously the signal handling code was using a pointer to the original error block when reporting the error to the user. This could cause the wrong error to be reported in some situations (e.g. if WIMP$ScrapDir is undefined). Instead, the code now stores a copy of the error block on the stack. Admin: Tested on rev A2 BB-xM Version 2.08. Tagged as 'Paint-2_08'
58d77a84 -
Robert Sprowson authored
Always switches back now before reporting the error. Version 2.09. Tagged as 'Paint-2_09'
13cf3af4
Showing
!Clean,fd7
deleted
100644 → 0
!Compile,fd7
deleted
100644 → 0
!Debug,fd7
deleted
100644 → 0
!Make,fd7
deleted
100644 → 0
No preview for this file type
No preview for this file type
asm/jpeg
deleted
100644 → 0
asm/writepixel
deleted
100644 → 0
awk/AppName
deleted
100644 → 0
awk/Version
deleted
100644 → 0
This diff is collapsed.
This diff is collapsed.