Skip to content
This repository has been archived by the owner on Jul 4, 2018. It is now read-only.

Commit

Permalink
v0.3.3.0: finished the welcome box
Browse files Browse the repository at this point in the history
- the welcome box can make example text files; it will be helpful
- upgraded the IDE from VS 2015 community to VS 2017 community
  • Loading branch information
lazyahasil committed May 4, 2017
1 parent 5837f55 commit df186fd
Show file tree
Hide file tree
Showing 7 changed files with 19 additions and 22 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# 텍스트 입출력 파일 감시기(Text I/O File Overseer)
## 다운로드
## 다운로드(Downloads)
<https://github.com/lazyahasil/text_overseer/releases>
## 스크린샷
![Screenshot](/screenshots/text_overseer_0311.gif)
## 언어 및 컴파일러
## 스크린샷(Screenshot)
![Screenshot](/screenshots/text_overseer_0330_anigif.gif)
## 언어 및 컴파일러(Language and Compilers)
* C++14
* Microsoft Visual Studio 2015 Community
## 사용한 라이브러리
* Microsoft Visual Studio 2017 Community
## 사용한 라이브러리(Used Libraries)
* [Nana C++ Library](http://nanapro.org/en-us/) 1.4.1
* [Boost C++ Libraries](http://www.boost.org/) 1.63.0
Binary file added screenshots/text_overseer_0330_anigif.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions text_overseer/file_io.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ namespace text_overseer

// a class that supports text file reading & writing;
// it also can handle the system encoding and unicode, and can take care of BOM(Byte Order Mark)
// its I/O functions(read/write all/some) have checking processes assuming them occasionally called
class FileIO
{
public:
Expand Down
4 changes: 1 addition & 3 deletions text_overseer/gui.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ namespace text_overseer
{
public:
AbstractBoxUnit(IOFilesTabPage& parent_tab_page);
virtual ~AbstractBoxUnit() = default;

void refresh_textbox_line_num() noexcept
{
Expand All @@ -65,7 +64,7 @@ namespace text_overseer

nana::place place_{ *this };
nana::label lab_name_{ *this };
nana::label lab_state_{ *this, u8"<size=8>출력 파일이 있을 때 작동합니다.</>" };
nana::label lab_state_{ *this };
nana::panel<true> line_num_{ *this };
nana::textbox textbox_{ *this };
nana::menu popup_menu_;
Expand Down Expand Up @@ -102,7 +101,6 @@ namespace text_overseer
{
public:
AbstractIOFileBoxUnit(IOFilesTabPage& parent_tab_page);
virtual ~AbstractIOFileBoxUnit() = default;

virtual bool read_file();
virtual bool update_label_state() noexcept override;
Expand Down
10 changes: 4 additions & 6 deletions text_overseer/gui_main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,13 +24,11 @@ namespace text_overseer
{
place_.div(
"<"
" <weight=5>"
" <"
" <margin=[7, 5, 3, 5] "
" <weight=36% input_box>"
" | <weight=36% output_box>"
" | <answer_box>"
" >"
" <weight=5>"
">"
);
place_["input_box"] << input_box_;
Expand Down Expand Up @@ -119,8 +117,8 @@ namespace text_overseer
FileIO(L"example2/output.txt")
};
constexpr std::array<char*, 4> texts{
"5\r\n10 20 30 40 50",
"50\r\n40\r\n30\r\n20\r\n10\r\n",
"5\r\n1 2 3 4 5",
"5\r\n5 4\r\n5 4 3\r\n5 4 3 2\r\n5 4 3 2 1\r\n",
"(8+2*4)/4",
"8 2 4 * + 4 /\r\n4\r\n"
};
Expand Down Expand Up @@ -177,7 +175,7 @@ namespace text_overseer
" <weight=150 margin=[0, 0, 0, 3] btn_refresh>"
" >"
" <weight=25 tabbar>"
" <margin=[5, 0, 3, 0] tab_frame>"
" <tab_frame>"
">"
);
place_["pic_logo"] << pic_logo_;
Expand Down
10 changes: 5 additions & 5 deletions text_overseer/text_overseer.vcxproj
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Project DefaultTargets="Build" ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<ItemGroup Label="ProjectConfigurations">
<ProjectConfiguration Include="Debug|Win32">
<Configuration>Debug</Configuration>
Expand Down Expand Up @@ -29,26 +29,26 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|Win32'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>true</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v141</PlatformToolset>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>Application</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v140</PlatformToolset>
<PlatformToolset>v141</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>Unicode</CharacterSet>
</PropertyGroup>
Expand Down
4 changes: 2 additions & 2 deletions text_overseer/version.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

namespace text_overseer
{
constexpr char* k_version_str = "0.3.2.3";
constexpr wchar_t* k_version_num_wstr = L"0323";
constexpr char* k_version_str = "0.3.3.0";
constexpr wchar_t* k_version_num_wstr = L"0330";
}

0 comments on commit df186fd

Please sign in to comment.