TodayPlus Boards v2

TodayPlus for the Pocket PC Forums => Help and Support => Topic started by: hp2215 on December 20, 2003, 06:59:26 PM

Title: change text color
Post by: hp2215 on December 20, 2003, 06:59:26 PM
Hi,i have downloaded TP today and i've a little
question for you.
Can i change the text color of the shortcut group?
Now is white and it's difficult to view.
Tank's a lot and sorry for my english, Merry Xtmas
Mario
Ps the skin is the "slider"original of the soft
Title: change text color
Post by: joelw135 on December 20, 2003, 11:22:44 PM
I guess you are talking about the names of the groups on the tabs of the launcher! If so I am posting the part of my launcher I changed, it is in the color RED The color I changed mine too is BLACK, so just change the code I put in RED to what you want.  The code mite not look exactly like mine, but close enougth. Remember you are changing the one line.  To change the color back to the original after the region use -1_4_-1 I showed that line also in red.

//=================================================
// REGION 16 - PAGE 0
//   Container for Launcher sections
//   Subregions: 17
//   Vars used: 16
//   Dimensions:  240 x 42
//=================================================
region,16,0,-1
   defregion,16,0,0,240,37,0
   offset,offset_-1,offset_-1
   //updateregions,17

   offsetadd,0,2

   initvar,var16,1

   changefont,tahoma,11,bi

   image,0,0,tabs.png,t

   if,var,var16,,=,1
      image,13,0,selected_tab.png,t
      image,66,0,unselected_tab.png,t
      image,119,0,unselected_tab.png,t
      image,172,0,unselected_tab.png,t
   else
   endif

   if,var,var16,,=,2
      image,13,0,unselected_tab.png,t
      image,66,0,selected_tab.png,t
      image,119,0,unselected_tab.png,t
      image,172,0,unselected_tab.png,t
   else
   endif

   if,var,var16,,=,3
      image,13,0,unselected_tab.png,t
      image,66,0,unselected_tab.png,t
      image,119,0,selected_tab.png,t
      image,172,0,unselected_tab.png,t
   else
   endif

   if,var,var16,,=,4
      image,13,0,unselected_tab.png,t
      image,66,0,unselected_tab.png,t
      image,119,0,unselected_tab.png,t
      image,172,0,selected_tab.png,t
   else
   endif


   button,16,2,48,11,-1,6,var16=1,16
   button,69,2,48,11,-1,6,var16=2,16
   button,122,2,48,11,-1,6,var16=3,16
   button,175,2,48,11,-1,6,var16=4,16
   button,16,2,207,11,17,4,0
color,font,0_0_0
       text,39,1,%apps-1%,c
   text,92,1,%apps-2%,c
   text,145,1,%apps-3%,c
   text,198,1,%apps-4%,c
//THIS LINE CHANGES THE COLOR BACK TO WHITE
color,font-1_4_-1
Title: change text color
Post by: hp2215 on December 21, 2003, 04:17:57 AM
whow....thank' it's perfect
Mario