Skip to content

Commit

Permalink
Merge pull request #17 from mostypc123/version4
Browse files Browse the repository at this point in the history
Version4
  • Loading branch information
mostypc123 authored Nov 2, 2024
2 parents 88afe3e + 298707f commit 570bb86
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import wx
import subprocess
import pywinstyles

class Tool:
def __init__(self, name, command):
Expand All @@ -9,6 +10,7 @@ def __init__(self, name, command):
class ToolRunnerApp(wx.Frame):
def __init__(self, parent, title):
super(ToolRunnerApp, self).__init__(parent, title=title, size=(400, 300))
pywinstyles.apply_style(self, "win7")

# Define tools with the filenames to execute
self.tools = [
Expand Down
2 changes: 2 additions & 0 deletions tools/map_of_marks.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import wx
import pyperclip
import pywinstyles

# List of symbols to display in the GUI
symbols = [
Expand All @@ -13,6 +14,7 @@
class SymbolCopyApp(wx.Frame):
def __init__(self, *args, **kw):
super(SymbolCopyApp, self).__init__(*args, **kw)
pywinstyles.apply_style(self, "win7")

self.InitUI()

Expand Down
2 changes: 2 additions & 0 deletions tools/md_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
import markdown
import json
import matplotlib.pyplot as plt
import pywinstyles

"""
I know that this is not called XediX, and it is
Expand All @@ -14,6 +15,7 @@
class XediX(wx.Frame):
def __init__(self, *args, **kw):
super(XediX, self).__init__(*args, **kw)
pywinstyles.apply_style(self, "win7")

self.SetTitle("Preview")
self.SetSize(800, 600)
Expand Down

0 comments on commit 570bb86

Please sign in to comment.