Metric | Win 7 | Win 10 | Win 10 125% | Win 10 150% | Win 10 175% | Win 10 200% |
---|---|---|---|---|---|---|
SM_CXBORDER |
1 | 1 | 1 | 1 | 1 | 1 |
SM_CXHTHUMB |
17 | 17 | 21 | 26 | 30 | 34 |
SM_CXHSCROLL |
17 | 17 | 21 | 26 | 30 | 34 |
SM_CXICONSPACING |
75 | 75 | 94 | 113 | 131 | 150 |
SM_CXEDGE |
2 | 2 | 2 | 2 | 2 | 2 |
SM_CXMENUCHECK |
15 | 15 | 19 | 25 | 29 | 31 |
SM_CXFOCUSBORDER |
1 | 1 | 1 | 1 | 1 | 1 |
SM_CXPADDEDBORDER |
1 | 4 | 5 | 6 | 7 | 8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
if [ -z "$1" ]; then | |
echo "Usage: $0 <x.y.z>" >&2 | |
exit 1 | |
fi | |
ver=$1 | |
stats_file=download_stats-`date +%Y%m%d`.csv |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define UNICODE | |
#define WIN32_LEAN_AND_MEAN | |
#include <windows.h> | |
#include <strsafe.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <wchar.h> | |
struct LocaleOption |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
Build with | |
$ cc -Wall -O2 -fPIC -shared -o libfix_wl_display_flush.so fix_wl_display_flush.c | |
Use as | |
$ LD_PRELOAD=libfix_wl_display_flush.so ./app | |
*/ | |
#define _GNU_SOURCE |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This is a simple example of a wxWidgets application using window without the | |
// standard "chrome", i.e. title bar and borders. | |
// | |
// With MSVS you can use the provided solution file to build it. With other | |
// compilers, remmeber to link against dwmapi.lib in addition to all the rest. | |
#include "wx/app.h" | |
#include "wx/button.h" | |
#include "wx/dcclient.h" | |
#include "wx/frame.h" | |
#include "wx/graphics.h" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/frame.h> | |
#include <wx/panel.h> | |
#include <wx/sizer.h> | |
#include <wx/textctrl.h> | |
#include <wx/aui/aui.h> | |
class TestPanel : public wxPanel { | |
public: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/dc.h> | |
#include <wx/frame.h> | |
#include <wx/panel.h> | |
#include <wx/sizer.h> | |
#include <wx/textctrl.h> | |
#include <wx/aui/aui.h> | |
class TestDockArt : public wxAuiDefaultDockArt { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/dc.h> | |
#include <wx/frame.h> | |
#include <wx/panel.h> | |
#include <wx/sizer.h> | |
#include <wx/textctrl.h> | |
#include <wx/aui/aui.h> | |
class TestDockArt : public wxAuiDefaultDockArt { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <wx/app.h> | |
#include <wx/frame.h> | |
#include <wx/splitter.h> | |
#include <wx/textctrl.h> | |
class TextCtrlShowingSize : public wxTextCtrl { | |
public: | |
explicit TextCtrlShowingSize(wxWindow* parent) : wxTextCtrl(parent, wxID_ANY, {}) { | |
Bind(wxEVT_SIZE, [this](wxSizeEvent& event) { | |
auto size = event.GetSize(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build glibc 2.28 under Ubuntu 18.04 to be able to use it with node 20. | |
name: Build glibc 2.28 under Ubuntu 18.04 | |
on: | |
push: | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
container: ubuntu:18.04 |