Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 8460 in orxonox.OLD


Ignore:
Timestamp:
Jun 15, 2006, 2:08:43 PM (18 years ago)
Author:
bensch
Message:

more style

Location:
branches/gui
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/gui/scripts/tardis-scratch-checkout.pl

    r7279 r8460  
    2424  print("Checking out ORXONOX from '$URL' to '$destination'\n");
    2525
    26 
    27   open(SVN_CO, "svn co $URL $destination |");
    28   while(<SVN_CO>){
     26  if (-e $destination)
     27  {
     28   open(SVN_UP, "svn up $destination |");
     29   while(<SVN_UP>) {
    2930   print $_;
     31   }
    3032  }
    31  
     33  else
     34  {
     35   open(SVN_CO, "svn co $URL $destination |");
     36   while(<SVN_CO>){
     37    print $_;
     38   }
     39  }
    3240  chdir("$destination");
    3341
     
    4452    printf $_;
    4553  }
    46  
     54
    4755  print ("Executing make with opts -j3\n");
    4856  open(MAKE, "make -j3|");
  • branches/gui/src/lib/gui/gl/glgui_style.cc

    r8450 r8460  
    5454
    5555  void GLGuiStyle::setBorderLeft(float value, OrxGui::State state)
    56 {}
     56  {
     57    _style[state]._borderLeft = value;
     58  }
    5759
    5860  void GLGuiStyle::setBorderLeftS(float value, const std::string& state)
    59   {}
     61  {
     62
     63  }
    6064
    6165
     
    6771
    6872  void GLGuiStyle::setBorderRight(float value, OrxGui::State state)
    69 {}
     73  {
     74    _style[state]._borderRight = value;
     75  }
    7076
    7177  void GLGuiStyle::setBorderRightS(float value, const std::string& state)
     
    8086
    8187  void GLGuiStyle::setBorderTop(float value, OrxGui::State state)
    82 {}
     88{
     89  _style[state]._borderTop = value;
     90}
    8391
    8492  void GLGuiStyle::setBorderTopS(float value, const std::string& state)
     
    93101
    94102  void GLGuiStyle::setBorderBottom(float value, OrxGui::State state)
    95 {}
     103{
     104  _style[state]._borderBottom = value;
     105}
    96106
    97107  void GLGuiStyle::setBorderBottomS(float value, const std::string& state)
     
    106116
    107117  void GLGuiStyle::setTextSize(float value, OrxGui::State state)
    108 {}
     118{
     119  _style[state]._textSize= value;
     120}
    109121
    110122  void GLGuiStyle::setTextSizeS(float value, const std::string& state)
     
    119131
    120132  void GLGuiStyle::setBackgroundColor(const Color& color, OrxGui::State state)
    121 {}
     133{
     134  _style[state]._backgroundColor = color;
     135}
    122136
    123137  void GLGuiStyle::setBackgroundColorS(float r, float g, float b, float a, const std::string& state)
     
    132146
    133147  void GLGuiStyle::setBackgroundTexture(const Texture& texture, OrxGui::State state)
    134 {}
     148{
     149  _style[state]._backgroundTexture = texture;
     150}
    135151
    136152  void GLGuiStyle::setBackgroundTexture(const std::string& textureName, const std::string& state)
     
    145161
    146162  void GLGuiStyle::setForegroundColor(const Color& color, OrxGui::State state)
    147   {}
     163  {
     164    _style[state]._foregroundColor = color;
     165  }
    148166
    149167  void GLGuiStyle::setForegroundColorS(float r, float g, float b, float a, const std::string& state)
     
    159177  void GLGuiStyle::setFeaturePosition(const std::string& featurePosition)
    160178  {
    161 
    162179  }
    163180
Note: See TracChangeset for help on using the changeset viewer.