gtkgdi.hxx (161f4cd1) | gtkgdi.hxx (e6f63103) |
---|---|
1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 26 unchanged lines hidden (view full) --- 35class GtkSalGraphics : public X11SalGraphics 36{ 37 GtkWidget *m_pWindow; 38 Region m_aClipRegion; 39 40public: 41 GtkSalGraphics( GtkWidget *window ) 42 : m_pWindow( window ), | 1/************************************************************** 2 * 3 * Licensed to the Apache Software Foundation (ASF) under one 4 * or more contributor license agreements. See the NOTICE file 5 * distributed with this work for additional information 6 * regarding copyright ownership. The ASF licenses this file 7 * to you under the Apache License, Version 2.0 (the 8 * "License"); you may not use this file except in compliance --- 26 unchanged lines hidden (view full) --- 35class GtkSalGraphics : public X11SalGraphics 36{ 37 GtkWidget *m_pWindow; 38 Region m_aClipRegion; 39 40public: 41 GtkSalGraphics( GtkWidget *window ) 42 : m_pWindow( window ), |
43 m_aClipRegion( REGION_NULL ) | 43 m_aClipRegion(true) |
44 {} 45 virtual ~GtkSalGraphics(); 46 47 inline GtkWidget* GetGtkWidget() const { return m_pWindow; } 48 inline GdkWindow* GetGdkWindow() const { return m_pWindow->window; } 49 inline GtkSalFrame* GetGtkFrame() const { return static_cast<GtkSalFrame*>(m_pFrame); } 50 void SetWindow( GtkWidget* window ) { m_pWindow = window; } 51 --- 125 unchanged lines hidden --- | 44 {} 45 virtual ~GtkSalGraphics(); 46 47 inline GtkWidget* GetGtkWidget() const { return m_pWindow; } 48 inline GdkWindow* GetGdkWindow() const { return m_pWindow->window; } 49 inline GtkSalFrame* GetGtkFrame() const { return static_cast<GtkSalFrame*>(m_pFrame); } 50 void SetWindow( GtkWidget* window ) { m_pWindow = window; } 51 --- 125 unchanged lines hidden --- |