Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
gui_handler_win.cc
Go to the documentation of this file.
1// Author: Sergey Linev <S.Linev@gsi.de>
2// Date: 2017-06-29
3// Warning: This is part of the ROOT 7 prototype! It will change without notice. It might trigger earthquakes. Feedback is welcome!
4
5// Copyright (c) 2013 The Chromium Embedded Framework Authors. All rights
6// reserved. Use of this source code is governed by a BSD-style license that
7// can be found in the LICENSE file.
8
9/*************************************************************************
10 * Copyright (C) 1995-2023, Rene Brun and Fons Rademakers. *
11 * All rights reserved. *
12 * *
13 * For the licensing terms see $ROOTSYS/LICENSE. *
14 * For the list of contributors see $ROOTSYS/README/CREDITS. *
15 *************************************************************************/
16
17#include "gui_handler.h"
18
19#include <windows.h>
20#include <string>
21
22#include "include/cef_browser.h"
23#include "include/cef_config.h"
24
26{
27}
28
30{
31 CefWindowHandle hwnd = browser->GetHost()->GetWindowHandle();
32 SetWindowText(hwnd, std::string(title).c_str());
33}
34
36{
37 return false;
38}
ROOT::Detail::TRangeCast< T, true > TRangeDynCast
TRangeDynCast is an adapter class that allows the typed iteration through a TCollection.
static bool PlatformResize(CefRefPtr< CefBrowser > browser, int width, int height)
void PlatformTitleChange(CefRefPtr< CefBrowser > browser, const CefString &title)
static void PlatformInit()