Mercurial > mm7
comparison UI/UIPopup.cpp @ 1843:2e6d3cd052e0
some char* cast removal + adding const_casts where appropriate
author | Grumpy7 |
---|---|
date | Sun, 13 Oct 2013 07:18:03 +0200 |
parents | 175bf8da83d9 |
children | 02bc0fac639f |
comparison
equal
deleted
inserted
replaced
1842:175bf8da83d9 | 1843:2e6d3cd052e0 |
---|---|
1287 void UI_OnMouseRightClick(Vec2_int_ *_this) | 1287 void UI_OnMouseRightClick(Vec2_int_ *_this) |
1288 { | 1288 { |
1289 int v5; // esi@62 | 1289 int v5; // esi@62 |
1290 GUIButton *pButton; // esi@84 | 1290 GUIButton *pButton; // esi@84 |
1291 const char *pStr; // edi@85 | 1291 const char *pStr; // edi@85 |
1292 char *pHint; // edx@113 | 1292 const char *pHint; // edx@113 |
1293 GUIWindow popup_window; // [sp+4h] [bp-74h]@32 | 1293 GUIWindow popup_window; // [sp+4h] [bp-74h]@32 |
1294 struct tagPOINT Point; // [sp+60h] [bp-18h]@6 | 1294 struct tagPOINT Point; // [sp+60h] [bp-18h]@6 |
1295 unsigned int pX; // [sp+70h] [bp-8h]@3 | 1295 unsigned int pX; // [sp+70h] [bp-8h]@3 |
1296 unsigned int pY; // [sp+74h] [bp-4h]@3 | 1296 unsigned int pY; // [sp+74h] [bp-4h]@3 |
1297 | 1297 |
1553 } | 1553 } |
1554 } | 1554 } |
1555 } | 1555 } |
1556 if ( popup_window.Hint ) | 1556 if ( popup_window.Hint ) |
1557 { | 1557 { |
1558 pHint = (char*)popup_window.Hint; | 1558 pHint = popup_window.Hint; |
1559 popup_window.Hint = 0; | 1559 popup_window.Hint = 0; |
1560 popup_window.uFrameWidth = 384; | 1560 popup_window.uFrameWidth = 384; |
1561 popup_window.uFrameHeight = 256; | 1561 popup_window.uFrameHeight = 256; |
1562 popup_window.uFrameX = 128; | 1562 popup_window.uFrameX = 128; |
1563 popup_window.uFrameY = 40; | 1563 popup_window.uFrameY = 40; |