Opened 7 years ago

Last modified 5 years ago

#47 closed enhancement

somehow make it visible what page is active — at Version 7

Reported by: HoraK-FDF Owned by: PulkoMandy
Priority: major Milestone: 2.7
Component: GrafX2 Version: 2.5
Keywords: Cc:

Description (last modified by PulkoMandy)

Hi,

i had edited some animations that look nearly the same the one to change on the normal page and one with the changes already done on the spare page so i switched many times between the two but at some point i lost the track and don't could find out without walking thru the frames where i was the first part of the file name was also the same so that that was also not possible to determine it by looking at it on the bottom status bar.
So i think it would be nice if there would be a way to somehow make it visible, the best way i think is to make a new button in the skin itself so i modified the skins so that it is visible what i mean. I have put the button at x=254 y=26 there was space on all skins. That's only a suggestion how it could be done the creators of the skins might want to do it in another way (if the enhancement gets accepted in that way) i also took some colors other than the 4 last colors to draw the button on some skins so it should not be right anyhow.

Change History (12)

by HoraK-FDF, 7 years ago

Attachment: skin_Aurora.png added

by HoraK-FDF, 7 years ago

Attachment: skin_classic.png added

by HoraK-FDF, 7 years ago

Attachment: skin_DPaint.png added

by HoraK-FDF, 7 years ago

Attachment: skin_modern.png added

by HoraK-FDF, 7 years ago

Attachment: skin_scenish.png added

comment:1 by pulkomandy, 7 years ago

Description: modified (diff)

The program does not know which page is main or spare. When you switch, the spare becomes main, and the main becomes spare. This works like two independant documents in an editor. So, there is no direct way to do that currently.

comment:2 by HoraK-FDF, 7 years ago

so would add an variable that is set to 0 at start (0=normal page) and then set it to 1 (1=spare page) if spare page button is pressed and if again pressed set back to 0 and so on do the trick? At start even when you start GrafX2 with an file on the command line it is always on the normal page. And then simply ask:
if (var) then draw spare page button
else draw normal button

comment:3 by HoraK-FDF, 7 years ago

i have just included a Current_page variable in the rev 2171

in the program init i set it to 0
in Button_page i do

  if (!Current_page) 
   Current_page=1;
  else
   Current_page=0;

then i modified the following functions to use this variable:
getpicturesize
getsparepicturesize
getlayercount
getsparelayercount

it works very well no mater on what page i'm it gives me the right values. So i think it would be a good way to know on what side grafx2 currently is.

comment:4 by PulkoMandy, 6 years ago

Milestone: 2.52.6

comment:5 by PulkoMandy, 6 years ago

Owner: changed from pulkomandy to PulkoMandy
Status: newassigned

comment:6 by yrizoud@…, 6 years ago

A separate improvement may be that when the filemames of main and spare have the same beginning, the part that we display should rather be the ending. (using …<ending>.<ext> instead of <beginning>….<ext>)
It would solve typical cases of:
spritewithlongname00.gif
spritewithlongname01.gif
spritewithlongname01 Copy.gif

comment:7 by PulkoMandy, 5 years ago

Description: modified (diff)

In the skinfiles, the button should rather go with the alternate button set (below the cursors)

Note: See TracTickets for help on using tickets.