• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
Aucun tag

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

Commit MetaInfo

Révision8eab5d0459b5e22feaa506965ea6d45824535221 (tree)
l'heure2012-09-29 10:10:10
Auteurh2so5 <h2so5@git....>
Commiterh2so5

Message de Log

wigetsをpluginsに変更
Optionのラジオボタンのデザインを少し変更

Change Summary

Modification

Binary files a/client/CardManager.cpp and b/client/CardManager.cpp differ
--- a/client/WindowManager.cpp
+++ b/client/WindowManager.cpp
@@ -101,7 +101,7 @@ void WindowManager::DrawButtons()
101101
102102 void WindowManager::DrawIcons(const Rect& rect)
103103 {
104- int x = 32;
104+ int x = 16;
105105 auto card_manager = manager_accessor_->card_manager().lock();
106106 BOOST_FOREACH(const auto& card, card_manager->cards()) {
107107
@@ -116,32 +116,32 @@ void WindowManager::DrawIcons(const Rect& rect)
116116 if (ptr->visible()) {
117117 SetDrawBlendMode(DX_BLENDMODE_SUB, 40);
118118 }
119- DrawGraph(rect.x + x, rect.y + 100 + 4, *image_handle, TRUE);
119+ DrawGraph(rect.x + x, rect.y + 100 + 8, *image_handle, TRUE);
120120 SetDrawBlendMode(DX_BLENDMODE_NOBLEND, 0);
121121
122- x += 64;
122+ x += 40;
123123 }
124124 }
125125 }
126126
127127 void WindowManager::ProcessInputIcons(const Rect& rect, InputManager* input)
128128 {
129- int x = 32;
129+ int x = 16;
130130 auto card_manager = manager_accessor_->card_manager().lock();
131131 BOOST_FOREACH(const auto& card, card_manager->cards()) {
132132 if (auto ptr = card->GetWindow()) {
133133
134134 int icon_x = rect.x + x;
135- int icon_y = rect.y + 100 + 4;
135+ int icon_y = rect.y + 100 + 8;
136136
137- bool hover = (icon_x <= input->GetMouseX() && input->GetMouseX() <= icon_x + 48
138- && icon_y <= input->GetMouseY() && input->GetMouseY() <= icon_y + 48);
137+ bool hover = (icon_x <= input->GetMouseX() && input->GetMouseX() <= icon_x + 32
138+ && icon_y <= input->GetMouseY() && input->GetMouseY() <= icon_y + 32);
139139
140140 if (hover && input->GetMouseLeftCount() == 1) {
141141 ptr->set_visible(!(ptr->visible()));
142142 input->CancelMouseLeft();
143143 }
144- x += 64;
144+ x += 40;
145145 }
146146 }
147147 }
Binary files a/client/bin/system/images/gui/gui_icon_input.png and /dev/null differ
Binary files a/client/bin/system/images/gui/gui_icon_map.png and /dev/null differ
Binary files a/client/bin/system/images/gui/gui_option_selecting_bg.png and b/client/bin/system/images/gui/gui_option_selecting_bg.png differ
Binary files /dev/null and b/client/bin/system/plugins/bgmlist/icon.png differ
Binary files /dev/null and b/client/bin/system/plugins/inputbox/icon.png differ
Binary files /dev/null and b/client/bin/system/plugins/modellist/icon.png differ
Binary files /dev/null and b/client/bin/system/plugins/radar/icon.png differ
--- a/client/bin/system/widgets/radar/main.js
+++ b/client/bin/system/plugins/radar/main.js
@@ -5,7 +5,7 @@
55 "name": "レーダー",
66 "icon": "icon.png",
77 "api_version": 1,
8- "native": "rader"
8+ "native": "radar"
99 }
1010
1111 ***MetaData***/
\ No newline at end of file
Binary files /dev/null and b/client/bin/system/plugins/textchat/icon.png differ
Binary files a/client/bin/system/widgets/bgmlist/icon.png and /dev/null differ
Binary files a/client/bin/system/widgets/inputbox/icon.png and /dev/null differ
Binary files a/client/bin/system/widgets/modellist/icon.png and /dev/null differ
Binary files a/client/bin/system/widgets/radar/icon.png and /dev/null differ
Binary files a/client/bin/system/widgets/textchat/icon.png and /dev/null differ
--- a/client/scene/Dashboard.cpp
+++ b/client/scene/Dashboard.cpp
@@ -74,7 +74,7 @@ void Dashboard::Update()
7474 bg_alpha_ = std::min(150, bg_alpha_);
7575
7676 base_rect_.width = 800;
77- base_rect_.height = 160;
77+ base_rect_.height = 148;
7878 base_rect_.x = (screen_width - base_rect_.width) / 2;
7979
8080 if (end_count_ > 0) {
Binary files a/client/scene/Init.cpp and b/client/scene/Init.cpp differ
--- a/client/scene/MainLoop.cpp
+++ b/client/scene/MainLoop.cpp
@@ -34,14 +34,10 @@ MainLoop::MainLoop(const ManagerAccessorPtr& manager_accessor) :
3434
3535 inputbox_->ReloadTabs();
3636 inputbox_->Activate();
37- inputbox_->set_icon_image_handle(
38- ResourceManager::LoadCachedGraph(_T("system/images/gui/gui_icon_input.png")));
3937 card_manager_->AddNativeCard("inputbox", inputbox_);
4038
4139 minimap_->UIPlacement(config_manager_->screen_width() - MINIMAP_MINSIZE - 12, 12);
42- minimap_->set_icon_image_handle(
43- ResourceManager::LoadCachedGraph(_T("system/images/gui/gui_icon_map.png")));
44- card_manager_->AddNativeCard("rader", minimap_);
40+ card_manager_->AddNativeCard("radar", minimap_);
4541
4642 window_manager_->RestorePosition();
4743
--- a/client/scene/Option.cpp
+++ b/client/scene/Option.cpp
@@ -499,7 +499,7 @@ RadioButtonItem::RadioButtonItem(const tstring& name,
499499 selecting_index_(0)
500500 {
501501 selecting_bg_image_handle_ = ResourceManager::LoadCachedDivGraph<3>(
502- _T("system/images/gui/gui_option_selecting_bg.png"), 3, 1, 16, 20);
502+ _T("system/images/gui/gui_option_selecting_bg.png"), 3, 1, 16, 24);
503503
504504 ptree item_array;
505505 read_json(std::stringstream(unicode::ToString(items)), item_array);
@@ -557,13 +557,13 @@ void RadioButtonItem::Draw()
557557 SetDrawBlendMode(DX_BLENDMODE_SUB, 40);
558558 }
559559
560- DrawGraph(left - 8, base_rect_.y - 2, *selecting_bg_image_handle_[0], TRUE);
561- DrawRectExtendGraphF(left - 8 + 16, base_rect_.y - 2,
562- right - 16 + 8, base_rect_.y - 2 + 20,
563- 0, 0, 1, 20, *selecting_bg_image_handle_[2], TRUE);
564- DrawGraph(right - 16 + 8, base_rect_.y - 2, *selecting_bg_image_handle_[2], TRUE);
560+ DrawGraph(left - 8, base_rect_.y - 4, *selecting_bg_image_handle_[0], TRUE);
561+ DrawRectExtendGraphF(left - 8 + 16, base_rect_.y - 4,
562+ right - 16 + 8, base_rect_.y + 20,
563+ 0, 0, 1, 24, *selecting_bg_image_handle_[2], TRUE);
564+ DrawGraph(right - 16 + 8, base_rect_.y - 4, *selecting_bg_image_handle_[2], TRUE);
565565
566- SetDrawBlendMode(DX_BLENDMODE_NOBLEND, 0);
566+ SetDrawBlendMode(DX_BLENDMODE_NOBLEND, 4);
567567
568568 DrawStringToHandle(left, base_rect_.y,
569569 item.name.c_str(),