Changeset 39 in svn
- Timestamp:
- Mar 26, 2015 11:11:08 AM (11 years ago)
- File:
-
- 1 edited
-
trunk/zasc/app_c/DST_WinFrequencySetting.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/zasc/app_c/DST_WinFrequencySetting.c
r37 r39 134 134 135 135 //display up /down 136 this->setFontStyle(this, 21, 0xFFC8C8C8, ALIGN_MIDDLE, ALIGN_CENTER); 137 this->DrawText(this, 0, (nLineHeight * 3)+(nLineHeight/3), (this->rect.w)/2, nLineHeight, (char*)"^", &(this->font)); 138 this->DrawText(this, (this->rect.w)/2, (nLineHeight * 3)+(nLineHeight/3), (this->rect.w)/2, nLineHeight, (char*)"^", &(this->font)); 139 140 this->DrawText(this, 0, (nLineHeight * 4)+(nLineHeight*2)/3, (this->rect.w)/2, nLineHeight, (char*)"v", &(this->font)); 141 this->DrawText(this, (this->rect.w)/2, (nLineHeight * 4)+(nLineHeight*2)/3, (this->rect.w)/2, nLineHeight, (char*)"v", &(this->font)); 136 this->setFontStyle(this, 15, 0xFFC8C8C8, ALIGN_MIDDLE, ALIGN_CENTER); 137 //this->DrawText(this, 0, (nLineHeight * 3)+(nLineHeight/3), (this->rect.w)/2, nLineHeight, (char*)"^", &(this->font)); 138 DS_U16 strTextUp[2] = { 0x25B2, 0}; 139 DS_U16 strTextDn[2] = { 0x25BC, 0}; 140 this->DrawTextUni(this, 0, (nLineHeight * 3)+(nLineHeight/3), (this->rect.w)/2, nLineHeight, strTextUp, &(this->font)); 141 this->DrawTextUni(this, (this->rect.w)/2, (nLineHeight * 3)+(nLineHeight/3), (this->rect.w)/2, nLineHeight, strTextUp, &(this->font)); 142 143 this->DrawTextUni(this, 0, (nLineHeight * 4)+(nLineHeight*2)/3, (this->rect.w)/2, nLineHeight, strTextDn, &(this->font)); 144 this->DrawTextUni(this, (this->rect.w)/2, (nLineHeight * 4)+(nLineHeight*2)/3, (this->rect.w)/2, nLineHeight, strTextDn, &(this->font)); 142 145 // display ~ 143 146 this->setFontStyle(this, 21, 0xFFC8C8C8, ALIGN_MIDDLE, ALIGN_CENTER);
Note: See TracChangeset
for help on using the changeset viewer.
