View Full Version : Skin resize suggestion
Spidercrab
01-15-2004, 05:33 PM
I was thinking that it would be a usefull feature if an additional resize control could be added. This would take the form of a single pixel wide area, i.e. a line that would run around the side of the area to be resize. The line could even trace the whole perimeter of a map (offset by 1 pixel from the edge). It wouldn't then need a ResizeSet.Bmp 4 state button. Instead it could use the way that the cursor currently changes to show the presence of a resize area to the user.
This could really simplify the resize control for updating old skins and add a bigger resize control area for the user.
Spidercrab
02-02-2004, 10:53 AM
Many thanks for implementing this in B70. The extra resizing controls simplify creating new and updating existing skins.
I like the way that each handle can also be used to drag one other handle. Cool.
Additional resizing controls to recreate a fully resizable border
area on an extension.You mean this?
Can somebody explain or show me how it works? This days i'm extremely dumb...
Spidercrab
02-02-2004, 03:08 PM
You mean this?
Can somebody explain or show me how it works? This days i'm extremely dumb...
It is fairly easy. You take an old skin map, add a single pixel (or greater) line on the bottom, top and or sides of a skin map, then create the Vertical and Horizontal breaks in the MapBreaksH.bmp & MapBreaksV.bmp's and the skin will resize. There is no need to create the stretch button bitmaps.
Quote from skinning update:
Additional resizing controls to recreate a fully resizable border
area on an extension.
There are 4 new resize controls which define an 'edge' for resizing:
left, top, right, and bottom.
These controls are to be defined on the map only to identify the
area where the user will grab for resizing, no bitmaps are required.
(the 'NN's below refer to the color of the corresponding break lines
for the resize control)
Left Edge controls are colored: 0xEE11NN
Right Edge controls are colored: 0xEE22NN
Top Edge controls are colored: 0xEE33NN
Bottom Edge controls are colored: 0xEE44NN
So user will be able to resize such skin by draggin' its edge? Like standart windows?
Spidercrab
02-02-2004, 05:37 PM
So user will be able to resize such skin by draggin' its edge? Like standart windows?
Exactly (as long as the skin resizing is implemented that way).
vBulletin® v3.8.4, Copyright ©2000-2010, Jelsoft Enterprises Ltd.