aboutsummaryrefslogtreecommitdiff
path: root/src/Screen.hh
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-01-16 11:58:45 (GMT)
committerfluxgen <fluxgen>2004-01-16 11:58:45 (GMT)
commit5a24731d3af68f376db099d8bb8ee4d7cb581124 (patch)
tree12b4ef5ecc22339719cc73fd63a95671cadacdfe /src/Screen.hh
parentf06fef6b4982976339de592fab0471239cc79d99 (diff)
downloadfluxbox-5a24731d3af68f376db099d8bb8ee4d7cb581124.zip
fluxbox-5a24731d3af68f376db099d8bb8ee4d7cb581124.tar.bz2
different window for position coordinates, patch from Junichiro Kita
Diffstat (limited to 'src/Screen.hh')
-rw-r--r--src/Screen.hh10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/Screen.hh b/src/Screen.hh
index 0b606a8..8f5951e 100644
--- a/src/Screen.hh
+++ b/src/Screen.hh
@@ -22,7 +22,7 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.hh,v 1.132 2004/01/11 16:05:55 fluxgen Exp $ 25// $Id: Screen.hh,v 1.133 2004/01/16 11:58:45 fluxgen Exp $
26 26
27#ifndef SCREEN_HH 27#ifndef SCREEN_HH
28#define SCREEN_HH 28#define SCREEN_HH
@@ -253,6 +253,7 @@ public:
253 void shutdown(); 253 void shutdown();
254 /// show position window centered on the screen with "X x Y" text 254 /// show position window centered on the screen with "X x Y" text
255 void showPosition(int x, int y); 255 void showPosition(int x, int y);
256 void hidePosition();
256 /// show geomentry with "width x height"-text, not size of window 257 /// show geomentry with "width x height"-text, not size of window
257 void showGeometry(unsigned int width, unsigned int height); 258 void showGeometry(unsigned int width, unsigned int height);
258 void hideGeometry(); 259 void hideGeometry();
@@ -351,6 +352,7 @@ private:
351 bool doSkipWindow(const WinClient &winclient, int options); 352 bool doSkipWindow(const WinClient &winclient, int options);
352 353
353 void renderGeomWindow(); 354 void renderGeomWindow();
355 void renderPosWindow();
354 void updateIconMenu(); 356 void updateIconMenu();
355 357
356 ScreenSubject 358 ScreenSubject
@@ -364,11 +366,11 @@ private:
364 366
365 FbTk::MultLayers m_layermanager; 367 FbTk::MultLayers m_layermanager;
366 368
367 bool root_colormap_installed, managed, geom_visible, cycling_focus; 369 bool root_colormap_installed, managed, geom_visible, pos_visible, cycling_focus;
368 GC opGC; 370 GC opGC;
369 Pixmap geom_pixmap; 371 Pixmap geom_pixmap, pos_pixmap;
370 372
371 FbTk::FbWindow m_geom_window; 373 FbTk::FbWindow m_geom_window, m_pos_window;
372 374
373 std::auto_ptr<FbTk::ImageControl> m_image_control; 375 std::auto_ptr<FbTk::ImageControl> m_image_control;
374 std::auto_ptr<FbTk::Menu> m_configmenu; 376 std::auto_ptr<FbTk::Menu> m_configmenu;