• Welcome to TodayPlus Boards v2.
 

Hammerskin V 1.05.6 QVGA English

Started by Wichtel, November 25, 2004, 04:35:41 PM

Previous topic - Next topic

uk_skinner

You might want to consider Hammerskin reduce.  Then you can have your "email" notice at the bottom. See here:
http://www.jhollin1138.com/forums/viewtopic.php?t=1695

However, this is 1.05.4 not the latest one.

Harpoon

Thanks for the links.  There are a few good things about .6 version that i wouldn't like to loose

HighTymes

Great work man, like the new features added to this update, thankz. I have some questions though. Forgive me as if I sound stupid :)

I have been messing around with the code in the text file to change somethings around but I am new to this so everything is pretty confusing but i am catching onto things and learning some stuff which is exciting, hope to make my own skin someday :)

Two things that i can't figure out how to do. I want to make my agenda space bigger. I took off the news ticker which i really like but i just don't have room for it if i want a bigger agenda. I want it to go all the way down to where my shortcuts start. However, I have modified the shortcuts so I now have two rounds(more on this later). The line above the shortcuts is nowimage,2,226,dotted_line.png,tr


The second thing i want to do is if possible have the top row of shortcuts i made be like 3 tabs where I can change the bottom set of shortcuts when i select a different tab. I wasn't quite sure, hell who am i kidding, I have no frickin clue how to,lol. I tried looking over the code from other parts of the skin seeing if it would show me how but I just get confused. So I ended up making a second line of icons which i like but with the tabs I can get even more in there :) I can make the graphics for it but the coding is what i don't know how to do.




If anyone can help me out that would be awesome because TP is bar now the best today plug in available out in the market.

Thankz guys

HighTymes

NVM, i figured out how to extend the agenda, right under my nose  :shock:


If anyone can help me out with the 3 tabs that would be awesome.


Thankz

uk_skinner

HighTymes:

   Do yu want something like the quicklaunch area in the top of 2B skin?
http://www.jhollin1138.com/forums/viewtopic.php?p=10674#10674

Wichtel

@HighTymes

I think this is no Problem. You can move the Shortcuts from Mainpage to Region 6 (formerly Newsticker). In Region 6 create 3 Regoins (Region 4,3 -  4,4 - 4,5) for your Shortcuts with tabs. Link this regions with Button commands (Tab) and look how it works
Greetings Wichtel 
 

miwi-media.com | Web & Screendesign

HighTymes

QuoteDo yu want something like the quicklaunch area in the top of 2B skin?
http://www.jhollin1138.com/forums/viewtopic.php?p=10674#10674


Ya, something like that would be perfect. Too bad that one is VGA :( I have a X30H so I am running QVGA but that how i was imagining it,just with less tabs as i don't have room for that many.


QuoteI think this is no Problem. You can move the Shortcuts from Mainpage to Region 6 (formerly Newsticker). In Region 6 create 3 Regoins (Region 4,3 - 4,4 - 4,5) for your Shortcuts with tabs. Link this regions with Button commands (Tab) and look how it works

Alright i will play around with somethings and maybe come up with soemthing,lol.



I might be able to figure this out if i just knew what each of these numbers ment for say soemthing like this(taken from hammeskin)...

//////////////////////////////////////////////////////
// REGION 2 - MAIN PAGE
//////////////////////////////////////////////////////

//////////////////////////////////////////////////////
// REGION 2,0 - MAIN DISPLAY
// REGION 4,1-4,2
//////////////////////////////////////////////////////

region,2,0,20

defregion,2,0,0,210,266,1
cleararea,0,0,210,266
deactivatebuttons,3
deactivatebuttons,8
deactivatebuttons,9
deactivatebuttons,10
deactivatebuttons,11
deactivatebuttons,12
deactivatebuttons,15
deactivatebuttons,16
deactivatebuttons,17
deactivatebuttons,18
activatebuttons,1
activatebuttons,2
activatebuttons,4
activatebuttons,5
updateregions,4,5,6


I seem to have figured out some of the other stuff under it but i still haven't figured out what all that means. Is their a tutorial anywhere for this? What code language is this?


Thankz guys.


Wichtel

Look here for Skinreference. You need Version 0.11.0
Greetings Wichtel 
 

miwi-media.com | Web & Screendesign

Wichtel

Greetings Wichtel 
 

miwi-media.com | Web & Screendesign

HighTymes

Thankz for the link guys, helped out alot. The only thing confusing is the %var references in the code now for the shortcuts.

I got the tabs now on the today page with text and highlighting when i tap on one of them but I can't seem to get the shortcut icons to show up.

I am using the handyplus skin(which i love as well) to give me a guideline as to what needs to be in the code and have changed the tab code accordingly to meet my needs but I just get confused on what i need to change to get the darn icons to come up.

Here is the code I have changed taken from the .txt




//////////////////////////////////////////////////////
// REGION 6 - LAUNCHER BAR
// REGION 6,3-6,4
//////////////////////////////////////////////////////

region,6,0,-1

defregion,6,0,207,50,20

if,var,var16,,=,1
changefont,Tahoma,10,b
imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1,1,-1
imagebutton,172,229,launcher_2.png,t,-1,6,var16=2,1,-1
imagebutton,192,229,launcher_3.png,t,-1,6,var16=3,1,-1
color,font,7_75_150
color,shadow,255_255_255
text,158,230,P,ls
color,font,255_255_255
color,shadow,40_40_40
text,177,230,U,ls
text,197,230,M,ls
color,font,-1_4_-1
color,shadow,255_255_255
changefont,Tahoma,11
else
if,var,var16,,=,2
color,font,255_255_255
color,shadow,40_40_40
changefont,Tahoma,10,b
imagebutton,152,229,launcher_1.png,t,-1,6,var16=1,1,-1
imagebutton,172,229,launcher_2_select.png,t,-1,6,var16=2,1,-1
imagebutton,192,229,launcher_3.png,t,-1,6,var16=3,1,-1
color,font,7_75_150
color,shadow,255_255_255
text,177,230,U,ls
color,font,255_255_255
color,shadow,40_40_40
text,158,230,P,ls
text,197,230,M,ls
color,font,-1_4_-1
color,shadow,255_255_255
changefont,Tahoma,11
else
if,var,var16,,=,3
color,font,255_255_255
color,shadow,40_40_40
changefont,Tahoma,10,b
imagebutton,152,229,launcher_1.png,t,-1,6,var16=1,1,-1
imagebutton,172,229,launcher_2.png,t,-1,6,var16=2,1,-1
imagebutton,192,229,launcher_3_select.png,t,-1,6,var16=3,1,-1
text,158,230,P,ls
text,177,230,U,ls
color,font,7_75_150
color,shadow,255_255_255
text,197,230,M,ls
color,font,-1_4_-1
color,shadow,255_255_255
changefont,Tahoma,11
else
endif
endif
endif



// LAUNCHER BAR SHORTCUTS 1 ========================

region,6,3,-1
//imagebutton,30,200,arrow_right.png,t,6,4,1,6

shortcut,4,220,apps-%var16%-1,s
button,4,220,16,16,-1,0,%apps-%var16%-1-highlight
changefont,tahoma,10,b
text,4,220,Testing,s
shortcut,20,220,apps-%var16%-2,s
button,20,220,16,16,-1,0,%apps-%var16%-2-highlight
shortcut,38,220,apps-%var16%-3,s
button,38,220,16,16,-1,0,%apps-%var16%-3-highlight
shortcut,56,220,apps-%var16%-4,s
button,56,220,16,16,-1,0,%apps-%var16%-4-highlight
shortcut,74,220,apps-%var16%-5,s
button,74,220,16,16,-1,0,%apps-%var16%-5-highlight
shortcut,92,220,apps-%var16%-6,s
button,92,220,16,16,-1,0,%apps-%var16%-6-highlight
shortcut,110,220,apps-%var16%-7,s
button,110,220,16,16,-1,0,%apps-%var16%-7-highlight
shortcut,128,220,apps-%var16%-8,s
button,128,220,16,16,-1,0,%apps-%var16%-8-highlight
shortcut,146,220,apps-%var16%-9,s
button,146,220,16,16,-1,0,%apps-%var16%-9-highlight
shortcut,164,220,apps-%var16%-10,s
button,164,220,16,16,-1,0,%apps-%var16%-10-highlight

shortcut,0,0,blank,s  //Prevent text from appearing in other sections

endregion,6,3


// LAUNCHER BAR SHORTCUTS 2 ========================

region,6,4,-1
//imagebutton,225,200,arrow_left.png,t,17,4,0,6

shortcut,4,220,apps-%var16%-11,s
button,4,220,16,16,-1,0,%apps-%var16%-11-highlight
shortcut,25,220,apps-%var16%-12,s
button,25,220,16,16,-1,0,%apps-%var16%-12-highlight
shortcut,46,220,apps-%var16%-13,s
button,46,220,16,16,-1,0,%apps-%var16%-13-highlight
shortcut,67,220,apps-%var16%-14,s
button,67,220,16,16,-1,0,%apps-%var16%-14-highlight
shortcut,88,220,apps-%var16%-15,s
button,88,220,16,16,-1,0,%apps-%var16%-15-highlight
shortcut,109,220,apps-%var16%-16,s
button,109,220,16,16,-1,0,%apps-%var16%-16-highlight
shortcut,130,220,apps-%var16%-17,s
button,130,220,16,16,-1,0,%apps-%var16%-17-highlight
shortcut,151,220,apps-%var16%-18,s
button,151,220,16,16,-1,0,%apps-%var16%-18-highlight
shortcut,172,220,apps-%var16%-19,s
button,172,220,16,16,-1,0,%apps-%var16%-19-highlight
//shortcut,193,220,apps-%var16%-20,s
//button,193,220,16,16,-1,0,%apps-%var16%-20-highlight

shortcut,0,0,blank,s //Prevent text from appearing in other sections

endregion,6,4
endregion,6,0

//////////////////////////////////////////////////////
// LAUNCHER BAR ON MAIN PAGE END
//////////////////////////////////////////////////////


I am using the default praphics right now as i want to make sure i can get this working before i put the time into making them.

Can you guys see anything wrong with the code?


Thankz guys

uk_skinner

To jump to the shortcut area, you need two things trigger by imagebutton/button codes, 1) jump to region,6,1 (for example); 2) assign var16.  These need to be done by two codes.

From your code, you only try to change var16 via imagebuton, and something does not look right here.

Yours:
imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1,1,-1
I would suggest:
imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1

Try these
imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1
button,152,229,width, height,6,4,1
imagebutton,172,229,launcher_2.png,t,-1,6,var16=2
button,172,229,width, height,6,4,2
imagebutton,192,229,launcher_3.png,t,-1,6,var16=3
button,192,229,width, height,6,4,3

The "width, height" is the "size" of your tab.  They should be the 1/2 width and hight of your pngs you used in your imagebutton.

As you can see, every time you tap on the "defined" area, you in fact trigger two events, jump to region,6,n and change var16.

HighTymes

When i changed...

"imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1,1,-1"

to

"imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1 "

it made the tabs not highlight orange and stay orange once selected. If i select the tab that is already highlighted then the tabs lock up and once TP refreshes like 10 seconds later the tabs disappear all together until i hit the main page button again.


Adding

"button,192,229,18,8,6,4,1"

under "imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1 ", it didn't do anything that i could see. Maybe i am doing something wrong.

When you say, "The "width, height" is the "size" of your tab. They should be the 1/2 width and hight of your pngs you used in your imagebutton," Do you mean "one half" the width and hight? So if the pngs are 36x16 I need to set it to 18,8?

So the end result ended up like this...


//////////////////////////////////////////////////////
// REGION 6 - LAUNCHER BAR
// REGION 6,3-6,4
//////////////////////////////////////////////////////

region,6,0,-1

defregion,6,0,207,50,20

if,var,var16,,=,1
changefont,Tahoma,10,b
imagebutton,152,229,launcher_1_select.png,t,-1,6,var16=1
button,152,229,18,14,6,4,1
imagebutton,172,229,launcher_2.png,t,-1,6,var16=2
button,172,229,18,14,6,4,2
imagebutton,192,229,launcher_3.png,t,-1,6,var16=3
button,192,229,18,14,6,4,3
color,font,7_75_150
color,shadow,255_255_255
text,158,230,P,ls
color,font,255_255_255
color,shadow,40_40_40
text,177,230,U,ls
text,197,230,M,ls
color,font,-1_4_-1
color,shadow,255_255_255
changefont,Tahoma,11
else
if,var,var16,,=,2
color,font,255_255_255
color,shadow,40_40_40
changefont,Tahoma,10,b
imagebutton,152,229,launcher_1.png,t,-1,6,var16=1
button,152,229,18,14,6,4,1
imagebutton,172,229,launcher_2_select.png,t,-1,6,var16=2
button,172,229,18,14,6,4,2
imagebutton,192,229,launcher_3.png,t,-1,6,var16=3
button,192,229,18,14,6,4,3
color,font,7_75_150
color,shadow,255_255_255
text,177,230,U,ls
color,font,255_255_255
color,shadow,40_40_40
text,158,230,P,ls
text,197,230,M,ls
color,font,-1_4_-1
color,shadow,255_255_255
changefont,Tahoma,11
else
if,var,var16,,=,3
color,font,255_255_255
color,shadow,40_40_40
changefont,Tahoma,10,b
imagebutton,152,229,launcher_1.png,t,-1,6,var16=1
button,152,229,18,14,6,4,1
imagebutton,172,229,launcher_2.png,t,-1,6,var16=2
button,172,229,18,14,6,4,2
imagebutton,192,229,launcher_3_select.png,t,-1,6,var16=3
button,192,229,18,14,6,4,3
text,158,230,P,ls
text,177,230,U,ls
color,font,7_75_150
color,shadow,255_255_255
text,197,230,M,ls
color,font,-1_4_-1
color,shadow,255_255_255
changefont,Tahoma,11
else
endif
endif
endif



// LAUNCHER BAR SHORTCUTS 1 ========================

region,6,3,-1
//imagebutton,30,200,arrow_right.png,t,6,4,1,6

shortcut,4,220,apps-%var16%-1,s
button,4,220,16,16,-1,0,%apps-%var16%-1-highlight
shortcut,20,220,apps-%var16%-2,s
button,20,220,16,16,-1,0,%apps-%var16%-2-highlight
shortcut,38,220,apps-%var16%-3,s
button,38,220,16,16,-1,0,%apps-%var16%-3-highlight
shortcut,56,220,apps-%var16%-4,s
button,56,220,16,16,-1,0,%apps-%var16%-4-highlight
shortcut,74,220,apps-%var16%-5,s
button,74,220,16,16,-1,0,%apps-%var16%-5-highlight
shortcut,92,220,apps-%var16%-6,s
button,92,220,16,16,-1,0,%apps-%var16%-6-highlight
shortcut,110,220,apps-%var16%-7,s
button,110,220,16,16,-1,0,%apps-%var16%-7-highlight
shortcut,128,220,apps-%var16%-8,s
button,128,220,16,16,-1,0,%apps-%var16%-8-highlight
shortcut,146,220,apps-%var16%-9,s
button,146,220,16,16,-1,0,%apps-%var16%-9-highlight
shortcut,164,220,apps-%var16%-10,s
button,164,220,16,16,-1,0,%apps-%var16%-10-highlight

shortcut,0,0,blank,s  //Prevent text from appearing in other sections

endregion,6,3


// LAUNCHER BAR SHORTCUTS 2 ========================

region,6,4,-1
//imagebutton,225,200,arrow_left.png,t,17,4,0,6

shortcut,4,220,apps-%var16%-11,s
button,4,220,16,16,-1,0,%apps-%var16%-11-highlight
shortcut,25,220,apps-%var16%-12,s
button,25,220,16,16,-1,0,%apps-%var16%-12-highlight
shortcut,46,220,apps-%var16%-13,s
button,46,220,16,16,-1,0,%apps-%var16%-13-highlight
shortcut,67,220,apps-%var16%-14,s
button,67,220,16,16,-1,0,%apps-%var16%-14-highlight
shortcut,88,220,apps-%var16%-15,s
button,88,220,16,16,-1,0,%apps-%var16%-15-highlight
shortcut,109,220,apps-%var16%-16,s
button,109,220,16,16,-1,0,%apps-%var16%-16-highlight
shortcut,130,220,apps-%var16%-17,s
button,130,220,16,16,-1,0,%apps-%var16%-17-highlight
shortcut,151,220,apps-%var16%-18,s
button,151,220,16,16,-1,0,%apps-%var16%-18-highlight
shortcut,172,220,apps-%var16%-19,s
button,172,220,16,16,-1,0,%apps-%var16%-19-highlight
//shortcut,193,220,apps-%var16%-20,s
//button,193,220,16,16,-1,0,%apps-%var16%-20-highlight

shortcut,0,0,blank,s //Prevent text from appearing in other sections

endregion,6,4
endregion,6,0

//////////////////////////////////////////////////////
// LAUNCHER BAR ON MAIN PAGE END
//////////////////////////////////////////////////////



Again, thankz for helping me man.

Broesel

Quote from: HighTymesWhen you say, "The "width, height" is the "size" of your tab. They should be the 1/2 width and hight of your pngs you used in your imagebutton," Do you mean "one half" the width and hight? So if the pngs are 36x16 I need to set it to 18,8?

No, an imagebutton is always double width, because the first half of the
pic is showing normally, the second half is shown, when button is pressed.

The height of the picture always stay equal. So if your pic is 36x16, the
button has to be 18,16.

Broesel

uk_skinner

Sorry, I thought your shortcuts were region,6,1 to region,6,3.
:oops:

Looks like your shortcuts are only region,6,3 and region,6,4.  How many tabs you wish to have?  


"button,152,229,18,14,6,4,1" means when you tap an area (which is a box start at 152,229 end at (152+18),(229+14)) will jump to region,6,1.  If you have 3 tabs the you should have 3 buttons to allow you jump to any of them.