Changeset 3f5616f in network-game for client/Client/Textbox.cpp


Ignore:
Timestamp:
Dec 24, 2012, 10:13:43 PM (12 years ago)
Author:
Dmitry Portnoy <dmp1488@…>
Branches:
master
Children:
baaf6c8
Parents:
cdb4bec
git-author:
Dmitry Portnoy <dportnoy@…> (12/24/12 22:11:06)
git-committer:
Dmitry Portnoy <dmp1488@…> (12/24/12 22:13:43)
Message:

Changed the client makefile to use static linking for the allegro library and fixed a bug where button and textbox borders would display incorrectly on Linux

File:
1 edited

Legend:

Unmodified
Added
Removed
  • client/Client/Textbox.cpp

    rcdb4bec r3f5616f  
    6868
    6969   al_draw_text(font, al_map_rgb(0, 255, 0), textPos, (this->height-fontHeight)/2, ALLEGRO_ALIGN_LEFT, str.c_str());
    70    al_draw_rectangle(1, 1, this->width, this->height, al_map_rgb(0, 255, 0), 1);
     70
     71   #ifdef WINDOWS
     72      al_draw_rectangle(1, 1, this->width, this->height, al_map_rgb(0, 255, 0), 1);
     73   #else
     74      al_draw_rectangle(1, 0, this->width, this->height-1, al_map_rgb(0, 255, 0), 1);
     75   #endif
    7176
    7277   al_set_target_bitmap(al_get_backbuffer(display));
Note: See TracChangeset for help on using the changeset viewer.