static linking doesn't work properly due to missing library: winmm.lib (timegettime function)
simply add winmm.lib to ceguibase project.
Search found 4 matches
- Thu Sep 16, 2010 07:33
- Forum: Official Announcements, Works in Progress, and Future Directions
- Topic: CEGUI 0.7.2 is Released!
- Replies: 12
- Views: 37180
- Mon Sep 06, 2010 07:27
- Forum: Help
- Topic: Problem getting a window's screen(absolute) position
- Replies: 3
- Views: 2973
Re: Problem getting a window's screen(absolute) position
Thanks a lot.
- Fri Sep 03, 2010 14:07
- Forum: Help
- Topic: Problem getting a window's screen(absolute) position
- Replies: 3
- Views: 2973
Re: Problem getting a window's screen(absolute) position
ok I managed to get a windows screen position, here is the code float get_screen_x_of_window(Window* p_wnd) { float screen_x =0; while (p_wnd->getParent()) { float parent_w = p_wnd->getParentPixelWidth(); const UDim& posX = p_wnd->getXPosition(); screen_x += parent_w * posX.d_scale + posX.d_offs...
- Fri Sep 03, 2010 11:31
- Forum: Help
- Topic: Problem getting a window's screen(absolute) position
- Replies: 3
- Views: 2973
Problem getting a window's screen(absolute) position
Hi I am trying to create my own slider class which contains cegui::slider as a class member. when the user clicks on the slider, I want the slider thumbnail to be set to the clicked point. To do that I need the absolute X position of the slider window and the absolute mouse click position. here is t...